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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Status code of HTTP requests

PG_9957352
10-Marble

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

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

Announcements


Top Tags