Path configuration
This article describes how to configure endpoint paths and routing rules.
You can perform advanced routing with paths. For example, if two endpoints have the same path, add a route or expression that evaluates to true to route the request to that endpoint. Endpoint configuration provides an example.
For each path (route) for this endpoint:
- Click Add path to open the Add new path panel:
- Add a Description to clarify the purpose of this endpoint path.
- In the Rules section, enter the Path.
- Optionally, to add advanced routing, click Rules to specify one or more query parameters, header values, or path parameters. Alternatively, click Expression to define one or more conditions. All conditions must be true for this path to execute. Click plus to add each rule or expression.
- Optionally, add an Upstream Path that will be appended to the URL.
- Click plus to add any required parameters. The parameters will be appended to the URL. Parameter configuration describes parameter options.
- Click plus to add one or more Methods. Method configuration describes method options.
- Click Create.