<div dir="ltr">Hi Evangelos,<div><br></div><div>The actual OSRM is a backend api - you can see its docs here:</div><div><a href="http://project-osrm.org/docs/v5.23.0/api/#">http://project-osrm.org/docs/v5.23.0/api/#</a><br></div><div><br></div><div>The frontend is a separate application made for demo purposes which uses the same api.</div><div>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.<br><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>--<br>Cheers,<br>Nikhil VJ<br><a href="https://nikhilvj.co.in" target="_blank">https://nikhilvj.co.in</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 10, 2020 at 4:27 PM evangelos spyrou <<a href="mailto:evang.spyrou@gmail.com">evang.spyrou@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>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.</div><div><br></div><div>The question is how to inject a request to the OSRM server (not from the frontend).</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Kind Regards</div><div><br></div><div>Evangelos</div><div><br></div><div><br></div></div>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>