- base_url:
https://server.onbns.com
- webhook:
https://server.onbns.com/ping
- auth_api:
https://server.onbns.com/api
notes: The first three route are publicly available.
to use /api
route, complete the following stpes:
- Login onbns to signup
- A
auth_jwt_token
will be generated and stored in your browser localStorage - This token will expired in 7 days, to request an extended token, contact us
- Every API endpoint requires an
Authentication
header
Example:
request.headers['Authorization'] = `token`
-H 'Content-Type: application/json' -d {"email":"[email protected]"}
- good response
{"message": "/api connected"}
- bad response
"Please make sure your request has an Authorization header."
- good response:
{"message": "/api/admin connected"}