AnsweredAssumed Answered

Custom HTTP code

Question asked by pranav.lakhotia024306 on Aug 14, 2017
Latest reply on Aug 15, 2017 by Lee Sobotkin

I am trying to use the outstatuscode Dynamic Document Property to set a custom HTTP response status code. I have noticed that setting this works when we are using a URL parameter in the request from the client application, but does not work when we are using a query parameter in the request from the client application. Is there any particular reason for this? Or is there any better way of solving this? 

 

Our requirement is to send a status code of 500 when we have an error and a regular 200 when there is no error. 

Outcomes