Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 977 Bytes

authenticate.md

File metadata and controls

51 lines (40 loc) · 977 Bytes

Authentication for Bukalapak API

Authentication for Bukalapak API

Authenticate

Return token to enable access for required authentication's resources User Bukalapak user and password for server authentication.

  • Use POST http method.
URL
Parameters

None

POST request data

None

Example Request
curl -u billy:Highs3creT https://api.bukalapak.com/v1/authenticate.json -X POST
Example Response

Success response:

{
  "status":"OK",
  "user_id": "157324",
  "token": "U8Ch2LigkVhdI3XwYRA",
  "message":null
}

Failed response

{
  "status":"ERROR",
  "user_id":"null",
  "message":"Invalid password"
}