Browse Source

Update 'README.md'

master
Atridad Lahiji 4 weeks ago
parent
commit
41d3811368
  1. 2
      README.md

2
README.md

@ -6,10 +6,12 @@ MiddleWhere is an open source API proxy built in Golang.
2. You would like to have an application make a request to a secure endpoint but have no place to add an auth bearer token
## Default config
```
ENDPOINT_URL="https://google.com"
ENDPOINT_AUTH_TOKEN=
ENDPOINT_REQUST_METHOD=POST
SECURE_TOKEN=
```
## My use case:
I use directus for the CMS for my website's blog, but my site uses a static site generator. So I have a webhook that sends a POST request to DroneCI to re-build the site with the new data. Directus webhooks do not let you set an auth header, so I needed a way to include a token in a querystring within the URL. This is my solution.
Loading…
Cancel
Save