chilcano opened a new issue, #9928:
URL: https://github.com/apache/apisix/issues/9928

   ### Description
   
   Hi All,
   I would like to route the request to 3rd API based on the 1st API 
HTTP_STATUS response.
   I mean:
   
   1. Call `http://apisix/api1`
   2. Get `api1` response / `http_status`
   3. If `http_status = 200`, then call to `http://apisix/api2`
   4. If `http_status = 400`, then call to `http://apisix/api3`
   
   Please, could anyone share an APISIX route snippet to do that?.
   Any idea is welcome.
   Regards.
    
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to