Versions Compared

Key

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

...

Code Block
  spark-rest://verb:path?[options]

URI Options

Wiki Markup
{div:class=confluenceTableSmall}
|| 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. |
{div}

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.

...