From d94a2a14aafef8bc2c3b68bbf47074acceb6f2aa Mon Sep 17 00:00:00 2001 From: Trisha Date: Mon, 22 Mar 2021 09:58:23 -0500 Subject: [PATCH] Update auth-route-YNQAQKJS.md --- issues/2020-12Dec/auth-route-YNQAQKJS.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/issues/2020-12Dec/auth-route-YNQAQKJS.md b/issues/2020-12Dec/auth-route-YNQAQKJS.md index 63bf70c..549fa87 100644 --- a/issues/2020-12Dec/auth-route-YNQAQKJS.md +++ b/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)