Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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