route Raw
Run a route request supplied as JSON and return the raw response.
This is the escape hatch for response formats RouteResponse cannot model — GPX — and for request options the generated models do not yet carry. PBF is binary and cannot cross the bridge, so it comes back as an error.
Return
The raw response body, in whichever format the request asked for.
Parameters
request Json
A route request as JSON.
See also
Throws
if the Valhalla engine returns an error response.