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