How to get JsonPowerDB database 'connection-token' in development?

edited February 22 in How 2
'connection-token' is used to interact with JsonPowerDB, it must be included in every request of jsonPowerDB for security purpose, To get the 'connection-token' from JsonPowerDB, use HTTP post request method on following informations.
    Url: http://serverdomain:5577/user/login
    Method: 'POST'
    Content-Type: "application/x-www-form-urlencoded”
    Request parameters: "email=yourname@apidomain.com&  password=yourpw"
  
JsonPowerDB provide response of above HTTP post request in json format as follows:

{                           
  "token":"137240410|63455466489|1308410",        
  "data":"yourname@apidomain.com",
  "message":"Valid user", 
  "status":200
}

Now developer got the 'connection-token' in json response as above and require to use this 'connection-token' in all further requests to JsonPowerDB server.






Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!