playMaker

Author Topic: WWWPOST + Header  (Read 39 times)

GPVFX_SB

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
WWWPOST + Header
« on: August 10, 2018, 12:09:57 AM »
Hi Playmakers,

I'm setting up my backend via an IBM Cloudant but am getting a 415 Unsupported media type HTTP response

Would it be possible to add a "Content-Type: application/json" header to WWWPOST?

REFS:
https://www.ibm.com/support/knowledgecenter/en/SSHJB3_6.2.0/com.ibm.curam.content.doc/MSDK/tshoot_415_unsupported_media_type_response.html

https://www.codeproject.com/Articles/1111863/IBM-Cloudant-HTTP-API-in-a-Nutshell