Example post for /route

I am making great progress, largely thanks to your work. I now have 300 stops for indian trains and that’s blown up GET. I cant work out what it wants for a POST, I have given it point(s):[[lat,lon]… ] but no joy.
If there’s anyone out there can you sketch me an example JSON for the POST method. I am getting 405 so maybe i havent configured it.

There is currently no POST request but you can increase the accepted size for GET:

...
server:
  applicationConnectors:
  - type: http
    port: 8989
    maxRequestHeaderSize: 40KiB
    maxResponseHeaderSize: 40KiB
...
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.