cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Status code of HTTP requests

PG_9957352
4-Participant

Status code of HTTP requests

Hello,

 

how to get the status code of HTTP request (POST/GET)?

I am using PostJSON function of ContentLoader class to send request to a remote url.

 

Similar question has been asked in the past with no answer:

https://community.ptc.com/t5/ThingWorx-Developers/Set-HTTP-status-code-and-header-in-service-for-RES...

https://community.ptc.com/t5/ThingWorx-Developers/Get-HTTP-error-code/td-p/513462

 

Thank you in advance.

Pietro

1 REPLY 1

Seems the feature you're looking for is only available starting ThingWorx 9.2

https://www.ptc.com/en/support/article/CS228550

Announcements