...
Code Block |
---|
rest://method:path[:uriTemplate]?[options] |
URI Options
...
Name | Default Value | Description |
---|---|---|
method |
| HTTP method which should be one of: get, post, put, patch, delete, head, trace, connect, or options. |
path |
| the base path which support REST syntax. See further below for examples. |
uriTemplate |
| uri template which support REST syntax. See further below for examples. |
consumes |
| media type such as: 'text/xml', |
...
or |
...
'application/json' |
...
this |
...
REST |
...
service |
...
accepts. |
...
By |
...
default |
...
we |
...
accept |
...
all |
...
kinds |
...
of |
...
types. |
...
produces |
| media type such as: 'text/xml', |
...
or |
...
'application/json' |
...
this |
...
REST |
...
service |
...
returns. |
...
Path and uriTemplate syntax
...