POST requests

15 views
Skip to first unread message

gordong

unread,
Jun 20, 2011, 2:04:38 AM6/20/11
to PBworks API
Hi,
I'm trying to figure how to form data to pass to a POST request, and
there doesn't seem to be any documentation on what's data or format is
expected by pbworks API. I've read every thread in this group, but no
luck or pointers to where the POST protocols are defined. Is what
pbworks expects from POST documented anywhere?

I'm using javascript & jQuery, and I see a previous thread in this
forum, using PHP:

$vars = array(
"op" => "GetPage",
"page" => "FirstPage",
"_type" => "jsontext",
"read_key" => "MYSECRETKEY"
);

does this indicate that I simply pass an javascript object containing
the data fields indicated in the inputs of the API documentation + the
op + the API Key to ajax with the ajax dataType = 'json'?

thanks for any help!

Gordon

Eileen Xie

unread,
Jun 20, 2011, 2:22:20 PM6/20/11
to PBworks API
Yes.
Reply all
Reply to author
Forward
0 new messages