...
The syntax of a REST API is as follows.
Code Block | ||
---|---|---|
| ||
<api xmlns="http://ws.apache.org/ns/synapse"
name="APIName"
context="/APIContext" [hostname="string"] [port="integer"]>
<resource methods="OPTIONS DELETE GET" uri-template="/url-template">
<inSequence>
...
</inSequence>
<outSequence>
...
</outSequence>
</resource>
</api> |
...