Welcome! Log In Create A New Profile

Advanced

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

October 01, 2016 07:08PM
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!
Subject Author Posted

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

spacerobot October 01, 2016 07:08PM

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

Francis Daly October 02, 2016 06:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 8 on December 15, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready