guilhermesad / rspotify

A ruby wrapper for the Spotify Web API
MIT License
717 stars 290 forks source link

Calls to User.oauth_put with empty hash as params argument raise a warning #245

Open derekpovah opened 2 years ago

derekpovah commented 2 years ago

rest-client is complaining when it's passed params that isn't JSON (example) since Content-Type for every request is getting set to application/json.

warning: Overriding "Content-Type" header "application/json" with "application/x-www-form-urlencoded" due to payload