Hello everyone
Sorry if this gets double posted, I posted a topic a while back but it hasn't appeared.
I'm trying to duplicate this curl command in httparty, but can't work it out.
I'm using httparty 0.8.3.
I've tried alot of variations of this
payload = {"body" => {"data" => '00700001'}, :headers => { 'Content-Type' => 'application/x-www-form-urlencoded' }}
response = HTTParty.get(url, payload)
But I just keep getting back {"message"=>"The browser (or proxy) sent a request that this server could not understand."}
Anyone got any ideas?