Please add a link to API doc. If the content-type expected is really application/json, you should follow what @jukoen said.