Project

General

Profile

access redmine wiki page with curl

Added by Anonymous over 15 years ago

I am trying to read a redmine wiki page with curl (RCurl to be exact). The page is only available for registered users and thus I always get redirected to the login page.

Does somebody know how I can pass the redmine login page with curl and then read my wiki content? Or would there be another way except of curl?

Thanks,
Hans-Peter


Replies (2)

RE: access redmine wiki page with curl - Added by Thomas Lecavelier over 15 years ago

curl know how to do that pretty easily, I don't know RCurl, but I suppose it can do the same, just read the man: http://www.manpagez.com/man/1/curl/ and switch --anyauth

RE: access redmine wiki page with curl - Added by Anonymous over 15 years ago

Thanks for mentioning the --anyauth option. According to the manual --anyauth only supports the HTTP protocol. Unfortunately, our page is only accessible through https.

How can we use curl to fetch a http*s* redmine wiki page which requires authenticaton? Is it possible at all with curl or do you know of any other means?

Thanks again,
Hans-Peter

    (1-2/2)