I lied, the first one just doesn't return an error, but it doesn't work
either.

AJ ONeal

On Sat, Nov 28, 2009 at 11:45 AM, AJ ONeal <[email protected]> wrote:

> I'm trying to figure out when and where the method override is parsed and
> dealt with.
>
> This works
>
> curl 'http://www.whatsayye.com/questions/3.json' \
>         -X "POST" \
>         -H "Content-Type: application/json" \
>         -H "Accept: application/json" \
>         -H "X-HTTP-Method-Override: PUT" \
>         -d "{ \"question\": { \"question\": \"Is Override the Answer?\",
> \"url\": \"put_override\" }}"
>
> This doesn't
>
> curl 'http://www.whatsayye.com/questions/3.json' \
>         -X "GET" \
>         -H "Content-Type: application/json" \
>         -H "Accept: application/json" \
>         -H "X-HTTP-Method-Override: PUT" \
>         -d "{ \"question\": { \"question\": \"Is Override the Answer?\",
> \"url\": \"put_override\" }}"
>
> Any hints for me?
>
> I'm using rails 2.3.3
>
> AJ ONeal
>

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to