Actions
Defect #28770
closedRest API with Curl API Key?
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Hello!
I had this project i'v been working on.
I found that the best way for me to use REST API is with cURL.
But then i came into the problem that with the cURL, Admin account and passwords are shown in the command.
[[http://www.redmine.org/projects/redmine/wiki/Rest_api_with_curl]]
curl -v -H "Content-Type: application/xml" -X PUT --data-binary "@wiki.xml" -u login:password http://redmine/projects/foo/wiki/page_test.xml
Is there a way to do this but with API Key?
I am updating a Wiki page but on my own redmine server.
Or do you guys have any other ways that i could do the same that curl does but with API Key?
(I have bunch of data that will be updated to a Wiki page weekly) Basically rewritten always.
Actions