Update auth-route-YNQAQKJS.md

main
Trisha 2 years ago committed by GitHub
parent 4dd08bdbb1
commit d94a2a14aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save