Authentication
In order to hit OCA CALL OTP API Gateway Endpoint, client must be authenticated. OCA CALL API Gateway uses Basic Authentication. Username and password must be encoded with base64 separated by colon and put the encoded credentials into Authorization Header.
Example:
Username: [email protected]
Password: test123
Base64Function([email protected]:test123) => dGVzdEBnbWFpbC5jb206dGVzdDEyMw==
Please attach Credentials in Authorization header in your http request like this:
curl \
--header "Content-Type: application/json" \
--header "Authorization: Basic dhu7ujuejxxxxxxxxxx==" \
--request GET \
https://call.ocatelkom.co.id/api/v1
Last updated