AnsweredAssumed Answered

How to Return Status Code 500 or 400 from SOE

Question asked by haiderali on Mar 24, 2016
Latest reply on Mar 29, 2016 by

i have implemented the Rest SOE and everything working fine except returning the error.when i raising the exception still response status code is 200 OK and in body i found the exception code and Message. i want that my client catch that exception rather then reading the response and then figure out it is exception or normal response.


i also try to do the same as describe here but still status is 200 Ok and X-HTTP-Status is shown in header

SOE REST Service - Is it possible to send the http status code from the operation