Skip to content

Commit 07f2a33

Browse files
committed
Update hostname in new api keys docs as well
1 parent bb31484 commit 07f2a33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/api_keys.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,21 @@ there are several ways to use your key to authenticate your requests:
4444
The request parameter “api_key” can be used to pass the API key to the server.
4545
Example:
4646

47-
http://delphi.cmu.edu/epidata/covidcast/meta?api_key=your_api_key_here
47+
https://api.delphi.cmu.edu/epidata/covidcast/meta?api_key=your_api_key_here
4848

4949
### Via Basic Authentication
5050

5151
Another method is using the HTTP basic authorization header with the username
5252
"epidata" and the API key as the password. Example:
5353

5454
```
55-
curl -u 'epidata:your_api_key_here' https://delphi.cmu.edu/epidata/covidcast/meta
55+
curl -u 'epidata:your_api_key_here' https://api.delphi.cmu.edu/epidata/covidcast/meta
5656
```
5757

5858
### Via Bearer Token
5959

6060
Another method is providing the key in a bearer token header. Example:
6161

6262
```
63-
curl -H 'Authorization: Bearer your_api_key_here' https://delphi.cmu.edu/epidata/covidcast/meta
63+
curl -H 'Authorization: Bearer your_api_key_here' https://api.delphi.cmu.edu/epidata/covidcast/meta
6464
```

0 commit comments

Comments
 (0)