tags:

views:

11

answers:

0

Hey

I am trying to find out how to send an XML in string as RAW_DATA to a RESTful API.

I found out a couple of libraries (Nestful, Restfulclient, curb) but wasn't able to send the content properly as you'd send it from Rails Functional tests @request.env['RAW_POST_DATA'] = xml.to_s

Any suggestions?