Hi, everyone.
My Wikipedia bot used to access Wikipedia by putting parameters into
URLs, like this:
http://en.wikipedia.org/w/api.php?action=query&prop=info%7Crevisions&am…
I put some parameters into POST data, though. Firstly, anything that I
think ought to be kept relatively secret (such as login password), and
secondly, anything that might be long (such as edited text or even edit
summaries). Today I converted my bot to use bare URLs and put all the
parameters in POST. Yet, I wonder if I should have an option in my bot
for the user to use URL parameters instead of POST parameters. Bear in
mind that although I'm coding with Wikipedia in mind, my bot is open
source and intended to be used with any Mediawiki project.
I can see that there are avantages to putting parameters into POST
data. Are there any advantages to a bot putting parameters into the
URL?
Richard