Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added information based on DOCUMENTATION-3162

...

  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

You can create HTTP endpoints by specifying values for the parameters specified above.

Alternatively, you can specify one parameter as the HTTP endpoint by using multiple other parameters, and then pass that to define the HTTP endpoint as follows:

Code Block
languagexml
<property name="uri.var.httpendpointurl" expression="fn:concat($ctx:prefixuri, $ctx:host, $ctx:port, $ctx:urlparam1, $ctx:urlparam2)" />
<send>
<endpoint>
<http uri-template="
{uri.var.httpendpointurl}
"/>
</endpoint>
</send>
Excerpt
hiddentrue

Description of the HTTP Endpoint in WSO2 ESB.