I have a rest API that I use with my zap. All of my functions are POST’s that returns something like that, for exemple:
response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
return;
This one returns a 401 status code as a response, but I still having error on my zap. Also the 200 code status give me the same error.