web services - How to log in into Redmine using REST API -
I need to enter Radmin using the REST API. Is it possible to use REST API in redmin? How can I handle it?
You can see the following:
Most of the time, the API Requires authentication. To enable API-style authentication, you must check the Administration -> Settings -> Authentication API enabled.
Then, authentication can be done in 2 different ways:
Use your regular login / password via HTTP Basic Authentication do.
Password in a script that is using your API key.
The API key can be connected with each request in the following way:
Close the "key" parameter < / P>
Passed as a username with a random password via HTTP Basic authentication
Passed an "X -admin-api-key "HTTP header (added to RedMine 1.1.0)
You can access your API key from your account page (/ me / account) default layout Right hand Sector logged on panel.
If you want to use you can use it:
1. HTML Basic Standards - P: // login: password@redmine.org/issues.xml 2. Basic Auth with HTTPS API Token and Login - http: // login: RANDOM_KEY@redmine.org/issues.xml- (Not yet supported) 3. Basic proof with HTTPS API Token - http: // RANDOM_KEY: X@redmine.org/issues.xml 4. Complete token proof - http://redmine.org/issues.xml?key=RANDOM_KEY
Comments
Post a Comment