Start a new topic

How do I authenticate into custom Endpoint from external API ?

Hi,



I am trying to call custom endpoint from an external API.



I am using below command



curl -u "myloginusername:myloginpassword" https://baas.kinvey.com/rpc/kid_byd3fWQm_/custom/testit



But I am recieving below error



**{"error":"InvalidCredentials","description":"Invalid credentials. Please retry your request with correct credentials","debug":""}**



I am using correct credentials but still I am getting this error.



Can anybody please help me with this ?

1 person has this question
1 Comment

Hello Pratik,



So, the custom endpoints do no support get requests, only post. If that failed, you would not get a 401, so I would double-check your credentials in the meantime.



Thanks,

1 person likes this
Login or Signup to post a comment