Browse Source

Update auth-route-YNQAQKJS.md

main
Trisha 2 years ago
committed by GitHub
parent
commit
d94a2a14aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      issues/2020-12Dec/auth-route-YNQAQKJS.md

8
issues/2020-12Dec/auth-route-YNQAQKJS.md

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