Description Usage Arguments Value
Function to create a request body using the sources and options given.
1 | createRequestBody(service, sources = NULL, targets = NULL, options)
|
service |
The Targomo Service to create a body for - 'polygon', 'time', 'route'. |
sources |
A processed sources object to pass to the API. |
targets |
A processed targets object (optional). |
options |
A processed options list. |
A JSON request body to be POST-ed to the API
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.