Hi,
I want to subscribe via the API, when i give the API request for subscription its showing the error "Invalid credentials".
I'm following this curl -k -u username:apisecret -d "username=foo" https://api.notifo.com/v1/subscribe_user
but here i cannot understand how to make request via HTTP for the above api.
if any one knows to make API call using HTTP please post it.
Thank you.
Hi - Are you using the API key from your service and not from the personal API key?
Find the service here: http://notifo.com/user/my_services
Then click on "Service Dashboard" for the service you need the API key for.
Then you can use the same curl line with the service username and API key, and have it subscribe another valid username (not service username) in the "username=foo" part.
Please let me know if this helps. I just did it locally with a service of mine and it worked:
{"status":"success","response_code":2201,"response_message":"OK"}
Hi thank you for your reply.....
I have used the API key, i found out the issue and resolved it.
The issue is with the HTTP response.
It looks like you're new here. If you want to get involved, click one of these buttons!