Re: [OSRM-talk] inject request to OSRM

2020-12-13 Thread Nikhil VJ
Hi Evangelos,

The actual OSRM is a backend api - you can see its docs here:
http://project-osrm.org/docs/v5.23.0/api/#

The frontend is a separate application made for demo purposes which uses
the same api.
Hit F12 to show browser console, go to Network > XHR. And then do some
routing on the map. You'll get to see the structure of the api calls and
work from there.

--
Cheers,
Nikhil VJ
https://nikhilvj.co.in


On Thu, Dec 10, 2020 at 4:27 PM evangelos spyrou 
wrote:

> Hi all,
>
> We are in the middle of a project where we have to manually inject a
> request to our local OSRM server. Essentially, we want to make a routing
> request via the terminal (using a python script for example) from a
> specific IP and update the frontend at that PC.
>
> The question is how to inject a request to the OSRM server (not from the
> frontend).
>
> Thanks in advance.
>
> Kind Regards
>
> Evangelos
>
>
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


[OSRM-talk] inject request to OSRM

2020-12-10 Thread evangelos spyrou
Hi all,

We are in the middle of a project where we have to manually inject a
request to our local OSRM server. Essentially, we want to make a routing
request via the terminal (using a python script for example) from a
specific IP and update the frontend at that PC.

The question is how to inject a request to the OSRM server (not from the
frontend).

Thanks in advance.

Kind Regards

Evangelos
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk