I've been testing my client code on test.wikipedia.org and having problems, but I can't tell whether it is a problem in my code, in the API, or on the testwiki server.
I submitted an edit to a user page using the following body in the POST request to http://test.wikipedia.org/w/api.php (I've broken out the body into key=value pairs to make it somewhat more readable, but there were no line breaks in the body as submitted via http):
maxlag=5& title=User%3AR%27n%27B%2Ftest& text=Further+test+of+page+revision+using+API.& format=json& recreate=& basetimestamp=2008-06-04T19%3A40%3A58Z& summary=test+revision+again& token=0a2b0e1b8d6cea730e7802b900476fa0%2B%5C& action=edit& minor=
This request returned an HTTP 500 status code with an empty response body; however, the edit was successful on the wiki server. (See http://test.wikipedia.org/wiki/User:R%27n%27B/Test) Any ideas why I would be getting this 500 status code instead of the expected JSON response text?
Russ Blau