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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. 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