That cURL command is resulting in a GET when a POST is required. Try adding
-d with an empty string.
curl -u xxxxx:yyyyyy -d ""
http://twitter.com/favorites/create/4053701763.xml

Abraham
On Thu, Sep 17, 2009 at 09:03, Rob Hutten <r...@hutten.org> wrote:

>
> Hi,
>
> Has something changed with the favourites API?  Using an example
> straight from the documentation:
>
> % curl -u xxxxx:yyyyyy  http://twitter.com/favorites/create/4053701763.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <hash>
>  <request>/favorites/create/4053701763.xml</request>
>  <error>This method requires a POST.</error>
> </hash>
> %
>
> Or am I missing something obvious?
>
> Cheers,
> -Rob
>
>


-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.

Reply via email to