Thanks for your replies.

I've tested it with curl and I get the same result, even after setting 
the headers correctly as mentioned above. Originally I thought that I'd 
made an error with my curl configuration, but it appears that that is 
not the case.

curl -i -X POST -H 'Content-Type: application/json' -H 'Accept: 
application/json' -d '{---json in here--}' 
http://127.0.0.1:3000/jobs.json

-- 
Posted via http://www.ruby-forum.com/.

-- 
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