Project

General

Profile

How to authenticate with Redmine REST API using regular login/password

Added by eea dev almost 9 years ago

When using Redmine REST API, How can I authenticate using login/password via HTTP Basic authentication?

I read the documentation at http://www.redmine.org/projects/redmine/wiki/Rest_api#Authentication

and I intended that I can do with such url:

var url = "http://[myuser]:[mypassword]@myredmine/projects.json";

Fine, I am getting a list of my projects, but I noticed that even if I use a wrong myuser and mypassword, I get the same json.

Why does it happen?

Thanks


Replies (2)

RE: How to authenticate with Redmine REST API using regular login/password - Added by eea dev almost 9 years ago

I respond to my self: that is supposed to be using issues.json.

Thanks

    (1-2/2)