...
Code Block |
---|
spark-rest://verb:path?[options] |
URI Options
...
Name | Default Value | Description |
---|---|---|
verb |
| get, post, put, patch, delete, head, trace, connect, or options. |
path |
| the content path which support Spark syntax. See further below for examples. |
accept |
| accept type such as: 'text/xml', |
...
or |
...
'application/json'. |
...
By |
...
default |
...
we |
...
accept |
...
all |
...
kinds |
...
of |
...
types. |
...
Path using Spark syntax
The path option is defined using a Spark REST syntax where you define the REST context path using support for parameters and splat. See more details at the Spark Java Route documentation.
...