benglerpebbles/pebblebed — Issue #12: TODO: Scrub APIs
Author: kytrinyx
Created: 2012-03-08 10:13:53+00:00
State: open
Labels: cleanup

Pebblebed must set the accept-header to 'application/json', and only parse json if the content-type is json.

Also, in pebblecore.js

Then we need to go through all our APIs and make sure that they send and accept the correct content-type.