We will use Postman to test endpoint.
For this version of API public web URL generated with SocetXP is https://xivanxv2-hnrsd468js2xt6rq.socketxp.com/
.
It is worth to mention that our db in fact contains 2 modules: one for all data connected to kanbirds and another one with API users' data. Second module is required for authorization process and for now it is a preliminary version, which will be finalized in the future.
Registration process within this version looks as following: user signs up and logs in to get authorization token (it has expiration date which also can be modified). With this token user gains access to other commands of 'users' module (such as modification of personal data and so on) and 'birds' module. All commands could be tested with Postman by changing blueprint and request method (POST, GET, etc). By blueprint we mean URL (1) + command part (2):
All commands will be described below as the combination of blueprint, request method and request body which should be used to reproduce the command.
Returned token should be used as param in next requests which require authentication.