problem with PrependPage

2 views
Skip to first unread message

K-fé

unread,
Mar 6, 2009, 9:49:22 AM3/6/09
to PBwiki API Hackers
Hi, I'm having problems with PrependPage. How to use it?

I tried
http://sdfsdfsdfsdf.pbwiki.com/api_v2/?op=PutPage&page=FrontPage&_type=jsontext&read_key=OBVIOUS-FAKE-KEY&html=SOMEVALUE

and got a message saying I must be logged in. I want anonymous
(regular) Internet users to use my site, but for the app to be able to
write to a page (the app is in Silverlight).

I got the GetPage operation working, but not PutPage.

- should it be http or https? https as it is in documentation didn't
work for me.
- why read_key and not write_key? I tried with both (all combinations)
and it didn't work.

thanks,
Gustavo

Mark Christian

unread,
Mar 6, 2009, 3:19:47 PM3/6/09
to gcs...@rogers.com, PBwiki API Hackers
Anything that changes something on your wiki, like PutPage and
PrependPage, require your write_key or admin_key. You can get your
keys from your wiki's Developer Interface page (in Settings).

Cheers;
— Mark
Reply all
Reply to author
Forward
0 new messages