I have the rest client gem and I am defining a request like this:
url = \'http://someurl\' request = {\"data\" => data}.to_json response = RestClient.post(ur
If PUT isn't allowed we can pass it in the header of POST. Headers in bold. This worked for me:
PUT
POST
act_resp = RestClient.post url, req_param, **:content_type => :json, :method => :put**
act_resp = RestClient.post url, req_param, **:content_type => :json, :method => :put*