Hi
I've been using curl to update pages on our site
3decks.pbwiki.com,
and suddenly it has stopped working. Nothing has changed at our end,
is there a change to the API that might have casued this.
Heres a sample command line
curl --dump-header -
https://3decks.pbwiki.com/api_v2/ -Fop=PutPage -F
"page=French Commissioned Officers" -F_type=jsontext -
Fadmin_key=Fake_Key -F "html=<C:\Documents and Settings\Cy\My Documents
\Wargames\naval\Wiki Data\Battles\Wiki Pages\French Officers.html" -F
"uid=Fake_UID" -k -Fcreate_if_missing=true > result.txt
and heres the output, which appears to be incomplete?
HTTP/1.1 200 OK
Date: Wed, 25 Mar 2009 18:51:19 GMT
Server: Apache
Vary: Accept-Encoding
Set-Cookie: pbj=05e1c09efb08be7ee2e3b4b8211f001238007086; expires=Fri,
01-Jan-2038 00:00:00 GMT; path=/; domain=.
pbwiki.com
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain;charset=utf-8
/*-secure-
{"_perm_cache_times":{"pagetime":
1238004094},"_request_id":"25.8093022492200452005.0","_valid_as_of":
1238007086,"error_status":403,"error_string":"unwanted input
'admin_key'","reference":"http:\/\/
3decks.pbwiki.com\/api_v2\/
#PutPage"}
*/
Ideas anyone?
cheers
Cy