Don't ask to ask, just ask | |
PerlMonks |
Error accessing MediaWiki APIby bobf (Monsignor) |
on Mar 27, 2009 at 16:25 UTC ( [id://753717]=perlquestion: print w/replies, xml ) | Need Help?? |
bobf has asked for the wisdom of the Perl Monks concerning the following question: I'm having trouble accessing a MediaWiki site using Perl, but I can use the same URL in a browser and it appears to work. Minimal test case:
The output I get is:
I used a browser to access the URL above (see comment in example code) and the results of the query were displayed. I also tried the equivalent procedure using LWP::UserAgent, but received the same 403 forbidden error as above.
Any suggestions? TIA
Back to
Seekers of Perl Wisdom
|
|