# Example about POST with local docker instance

**URL:** https://ask.openrouteservice.org/t/example-about-post-with-local-docker-instance/900
**Category:** directions
**Created:** [September 2, 2019, 4:17pm UTC](https://ask.openrouteservice.org/t/example-about-post-with-local-docker-instance/900 "2019-09-02T16:17:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vlavorini](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/v/d6d6ee/32.png) [@vlavorini](https://ask.openrouteservice.org/u/vlavorini)
#### Post date: [September 2, 2019, 4:17pm UTC](https://ask.openrouteservice.org/t/example-about-post-with-local-docker-instance/900/1 "2019-09-02T16:17:20Z")

</div>

Hi from this newbie!

I played a lot in the last month with the API sandbox, but now I touched the quotas limits.  
So I installed the local docker version of Openroute Service, but I see that in order to use it I need more than switching`https://api.openrouteservice.org/` with `http://localhost:8080`.

Can you please me how to query the local instance?

This is what I used until now, with Python:

```
call = requests.post('https://api.openrouteservice.org/v2/directions/driving-car/geojson', json=body, headers=headers)

```

Of course, `body` and `headers` are properly filled.

Thank you!

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [September 2, 2019, 5:59pm UTC](https://ask.openrouteservice.org/t/example-about-post-with-local-docker-instance/900/2 "2019-09-02T17:59:58Z")

</div>

If you’re using Python, try this: [GitHub - GIScience/openrouteservice-py: The Python API to consume openrouteservice(s) painlessly!](https://github.com/GIScience/openrouteservice-py).

What you’re calling is `http://localhost:8080/ors/v2/directions/...`. See here:

> **[openrouteservice/docker at master · GIScience/openrouteservice](https://github.com/GIScience/openrouteservice/tree/master/docker)**
>
> master/docker
