Article - CS281372

How to format the response of a ThingWorx REST API

Modified: 27-Feb-2023   


Applies To

  • ThingWorx Platform 8.2 to 9.3

Description

  • REST Calls using Postman are returning HTML instead of JSON
  • Service is configured to return JSON, but Postman returns HTML
  • Cannot get ThingWorx to return JSON in REST call
  • 'Content-Type' header was set to 'application/json' but REST call returned HTML
This is a printer-friendly version of Article 281372 and may be out of date. For the latest version click CS281372