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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Status code of HTTP requests

PG_9957352
5-Regular Member

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-REST/td-p/568118

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

 

Thank you in advance.

Pietro

1 ACCEPTED SOLUTION

Accepted Solutions

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

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

View solution in original post

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

Top Tags