Update auth-route-YNQAQKJS.md
parent
4dd08bdbb1
commit
d94a2a14aa
|
@ -4,16 +4,16 @@
|
|||
|
||||
## Test curl commands
|
||||
|
||||
Export the scraper API's URL prefix to an environment variable:
|
||||
|
||||
`export API=http://127.0.0.1:4000/scraper`
|
||||
|
||||
Put your API key into a header file, like this:
|
||||
|
||||
```
|
||||
X-ApiKey: bad_password
|
||||
```
|
||||
|
||||
Export the scraper API's URL prefix to an environment variable:
|
||||
|
||||
`export API=http://127.0.0.1:4000/scraper`
|
||||
|
||||
Call it "scraper-secret.txt" or something else obviously secret.
|
||||
Don't check it into Git. The key will expire every 30 days and need
|
||||
to be rotated manually. (for now)
|
||||
|
|
Loading…
Reference in New Issue