nooblucker/hueSimulator — pull request #6 by rodneyrehm (2014-04-08 13:32:00+00:00)
Title: Fix request payload encoding json

Fixing transfer encoding of POST/PUT requests (to JSON).

The WebUI accidentally sent `x-www-url-encoded`, but the [Hue only accepts `application/json`](http://developers.meethue.com/7_messagestructureresponse.html). This would have been a non-issue had the Hue SDK sent proper Content-Type request headers in the first place.