woocommerce / wc-api-ruby

A Ruby wrapper for the WooCommerce API.
MIT License
69 stars 73 forks source link

Dont set empty JSON body on get requests #18

Closed dhiemstra closed 8 years ago

dhiemstra commented 8 years ago

Not sure if it's just my host but when performing a GET request with a JSON body like "{}" I get redirected to my domain root. Not sending any body with a GET request solves this. This might be a HTTParty problem though since sending a body in GET requests perhaps shouldn't be accepted?

Using HTTParty 0.13.7

claudiosanches commented 8 years ago

Using the latest version?

dhiemstra commented 8 years ago

Assumed so but apparently not :blush:

claudiosanches commented 8 years ago

:)