I have successfully configured and set my odk central instance. I want to use the API to access data from the platform. However, when I tried to authenticate the user, I am unsuccessful in getting the token.
Anytime I try, I get the response:
"message": "Could not authenticate with the provided credentials.",
Meanwhile, it is the same credentials that I use to login to the odk central on the web.
Please I need help on this issue.
Thanks very much for helping me with the answers. I imported the central postman collection that you sent and replaced them with the right URL and the credentials. It worked for the first time. However, subsequent requests give me the same error message.
I guess my postman is sending some headers that are not supposed to be sent.
The good news is, I used PHP curl to test it directly and I got the tokens.