File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,21 +44,21 @@ there are several ways to use your key to authenticate your requests:
44
44
The request parameter “api_key” can be used to pass the API key to the server.
45
45
Example:
46
46
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
48
48
49
49
### Via Basic Authentication
50
50
51
51
Another method is using the HTTP basic authorization header with the username
52
52
"epidata" and the API key as the password. Example:
53
53
54
54
```
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
56
56
```
57
57
58
58
### Via Bearer Token
59
59
60
60
Another method is providing the key in a bearer token header. Example:
61
61
62
62
```
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
64
64
```
You can’t perform that action at this time.
0 commit comments