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

Set HTTP status code and header in service for REST.

vishwasrao
4-Participant

Set HTTP status code and header in service for REST.

Hi,

Is there any way we can set http status code and header in javascript code in service?

We want to call that service through REST and wanted to have proper HTTP status code and header in response.

 

Core ThingWorx services gives proper HTTP status code e.g. 401 but we are not able to see how it is done for new services.

 

Any help/suggestions will be really helpful .

Thanks,

Vishwas 

0 REPLIES 0
Top Tags