Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to change the target API URL in an Edge Microgateway custom plugin?

Depending on the request payload, I want to be able to route the API call to another target API URL (for example to implement data-sharding). Overloading req.url in the original onrequest() does not seem to be working. Do I mis something? Is there a way to implement this manual routing?

0 10 1,335
10 REPLIES 10
Top Solution Authors