If you have a users login credentials then the 'me' keyword can be used and their id.
--
You received this message because you are subscribed to the Google Groups "Posterous development" group.
To post to this group, send email to poster...@googlegroups.com.
To unsubscribe from this group, send email to posterous-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/posterous-dev?hl=en.
_method is used to specify the HTTP verb. In your case it should be 'GET'.
On Thursday, December 2, 2010 at 3:40 PM, DrBigFresh wrote:
Now it's giving me the correct response via the command line, but I'm
still getting the 'Did you forget the
_method param?' if I do it via curl in php. I see in the docs this:
HTTP methods are specified by a _method param with the corresponding
HTTP verb.
But I'm not following what the _method should be set to?
On Dec 2, 3:20 pm, DrBigFresh <drbigfr...@gmail.com> wrote:
Strange. If I run that on the command line, with the correct data, I
get no response.
If I run it (using CURL) in my php app, I get the following response:
[response] => {"error":"Invalid Request","message":"Did you forget the
_method param?"}
On Dec 2, 2:48 pm, Christopher Burnett wrote:
> If you have a users login credentials then the 'me' keyword can be used and their id.
> example:
> curl --user s...@user.com:passwordhttp://posterous.com/api/2/users/me?api_token=