Update auth-route-YNQAQKJS.md

main
Trisha 2021-03-22 09:58:23 -05:00 committed by GitHub
parent 4dd08bdbb1
commit d94a2a14aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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)