Not able to authenticate?
  • chiranjeevitgchiranjeevitg August 2010

    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.

  • StammyStammy September 2010

    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"}

  • chiranjeevitgchiranjeevitg September 2010

    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.

  • StammyStammy September 2010

    Hi - do you still have the invalid credentials issue? Did you receive Chad's follow-up email about how it looks like there is an issue in the way you are setting up your HTTP request?

    Regards,
    Paul

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

In this Discussion