chilcano commented on issue #9928:
URL: https://github.com/apache/apisix/issues/9928#issuecomment-1750568974

   I've tried to chain 2 APIs. I used the `pipeline_request` plugin explained 
here [Chaining API requests with API Gateway 
Demo](https://github.com/Boburmirzo/apisix-plugin-pipeline-request-demo#chaining-api-requests-with-api-gateway-demo)
 without success. 
   My use case is:
   ```
   apisix-route-1/<params> -> /api-a/<encoded-params> -> if response contains 
EURO -> /api-b
                                                      -> if response contains 
GBP  -> /api-c
   ```
   1. `apisix-route-1` is called and it encode `<params>` and pass that to 
`/api-a`.
   2. The `/api-a/<encoded-params>` is called.
   3. If  `/api-a/<encoded-params>` response contains `EURO`, then call 
`/api-b`.
   4. If  `/api-a/<encoded-params>` response contains `GBP`, then call `/api-c`.
   5. Send final response to `apisix-route-1/<params>` call.
   
   I wanted to use `pipeline_request` plugin to implement conditional logic 
without success.
   Any idea or shared code is welcome.
   Regards.
   


-- 
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