How to return a 200 OK response header?

Hi   As wished I should return in our Mendix exposed API POST call; a '200 OK' response header. As included in the REST module, I have included  neer the end of microflow a Java action "SetResponseStatus" whereby the code is 200. When checking with Postman I am able to get 200 and manipulate also to other numbers...the service I am consuming keeps calling back, because it doesnt receive 200 OK...So I am not getting where it is going wrong... Any one an idea?
1 answers

How many milliseconds does it take (on average) for the request to complete in Postman? I have seen this behavior before when the consuming side has a very strict (low) timeout setting on their end.


In other words; the 200 OK response might not be returned fast enough for the other side, causing a timeout and (endless) retry of the message. 


In order to verify if this is the issue, check the timeout on the calling side and verify it against postman results. Another solution is to temporarily change the published microflow so that the only thing it does is return the 200 response code (and maybe a hard-coded response body, just something that returns a response really fast).