The RESTful interface doesn't support any OAuth authentication yet,
but that's what you would use & then your allowed to write (as the
user your authenticated as), allowing just any old anonymous user to
write would be a bad thing :)
It does currently support security tokens though, so you could just
grab a security token of an iframe (or just type one in
owner:viewer:etc type format if you have allow_plaintext_token=true in
your config) and use that to 'authenticate'. That's how i'm developing
and testing the rest interface currently.
-- Chris
On Jul 25, 2008, at 7:05 AM, Ram Sharma wrote:
Hi,
For php shindig, how do I call the POST methods through Rest API ,
externally? I tried it by submitting a form, but its says, that the
PUT
methods are not allowed for anonymous users.Then I saw that the same
is
implemented in DataHandler.php.
Even if I overrule this check in the code, I am not able to insert
any value
through POST. Does this means, any other method, except GET cannot
be called
through an external application?
Am I missing something in my understanding? Can you please give me any
example for POST?
Thanks.