Parse response body and return status code/body based on it

spacerobot nginx-forum at
Sat Oct 1 23:08:44 UTC 2016

Hi nginx experts,

I'm trying to achieve an mechanism that for requests to certain endpoints,
nginx makes a HTTP call to a certain server (mostly POST and DELETE), gets a
response back, parse the response code and body, and based on the response
code and the content of the response body, return certain HTTP status
codes/response to the caller. Is there an existing module that can help
achieve this?

Thanks in advance!

Posted at Nginx Forum:,270012,270012#msg-270012

More information about the nginx mailing list