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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment