Accepting XML in PUT and POST API calls
It’s much more standard to accept XML documents than parameters of the format user[name] for PUT and POST API calls. This quick article shows you how.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
It’s much more standard to accept XML documents than parameters of the format user[name] for PUT and POST API calls. This quick article shows you how.
Comments
OK forget that my curl line wasn’t setup correctly so I didn’t realise rails did the work for you!
Oops, lol :)
Post a comment