Article - CS228550

ContentLoaderFunctions services PostJSON, PutJSON, LoadJSON, and GetJSON Header information not returned to ThingWorx Platform

Modified: 15-Oct-2024   


Applies To

  • ThingWorx Platform 7.0 to 9.1

Description

  • Header information not returned by ContentLoader services PostJSON, LoadJSON, PutJSON and GetJSON
  • Using the ContentLoader (Content Loader) functions such as PostJSON, PutJSON, GetJSON, and LoadJSON does not return the Status code of the REST API call, e.g 200, 404, etc.
  • Is there a way to get HTTP status code from services PostJSON , PostXML, PutJSON, LoadJSON, LoadXML, etc ?
  • When using the service PutJSON no status code is returned
This is a printer-friendly version of Article 228550 and may be out of date. For the latest version click CS228550