Closed adhikasp closed 6 years ago
@adhikasp hi, the endpoint changed
here sample request
curl -X POST \
https://api.gojekapi.com/v3/customers/login_with_email \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"email": "YOUREMAIL"
}'
@adhikasp hi, you can update npm gojek to version 1.1.0 you can login with function
gojek.loginWithEmail()
or gojek.loginWithPhone()
and then call gojek.generateCustomerToken()
Cool, it's working now. Thanks a lot! :tada:
I got empty body
{}
after calling the login API.Result