Example post for /route


#1

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.


#2

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
...