The HTTP endpoint allows you to define REST endpoints using URI templates similar to the REST API. The URI templates allow a RESTful URI to contain variables that can be populated during mediation runtime using property values whose names have the "uri.var.
" prefix. An HTTP endpoint can also define the particular HTTP method to use in the RESTful invocation.
...
Attribute | Description |
---|---|
uri-template | The URI template that constructs the RESTful endpoint URL at runtime. |
method | The HTTP method to use during the invocation. |
...
- On the Add Endpoint tab, click HTTP Endpoint (see Adding an Endpoint). The HTTP Endpoint page appears with its default view.
- Specify a unique name for this endpoint, and then enter the URI template, inserting "
uri.var.
" before each variable. To test the URI, click Test. - Specify the HTTP method to use during the invocation of this endpoint.
- Optionally, add advanced options and properties as described in Adding an Endpoint.
Excerpt | ||
---|---|---|
| ||
Description of the HTTP Endpoint in WSO2 ESB. |