Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

  1. On the Add Endpoint tab, click HTTP Endpoint (see Adding an Endpoint). The HTTP Endpoint page appears with its default view.
  2. 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.
  3. Specify the HTTP method to use during the invocation of this endpoint.
  4. Optionally, add advanced options and properties as described in Adding an Endpoint

 

Excerpt
hiddentrue

Description of the HTTP Endpoint in WSO2 ESB.