Wiki
Clone wikima3route-api-documentation / Registration
#!https POST /users
To register send a POST request to https://www.ma3route.com/findit-api/v2/json/users
The request body should be a json object with it's fields as in:
#!json { "firstname":"?", "middlename":"?", "lastname":"?", "email":"?", "country":"?", "alias":"?", }
Once you post, you will receive a response from the server, which is a JSON object that will indicate if you successfully posted the ad or if an error occurred. For now, we are not pointing to the exact cause of the error, this will be done in future enhancements.
Server response
#!json { "meta":{ }, "data":{ "success":true, "message":"You successfully posted an update" } }
#!json { "meta":{ }, "data":{ "success":false, "message":"Error! Check that you have all mandatory properties in the object. Avoid empty strings!" } }
Updated