File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
website/pages/en/querying Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,18 @@ Learn more about querying from an application [here](/querying/querying-from-an-
18
18
As you can notice, this query URL must use a unique API key. A bearer token can also be used to authenticate the query.
19
19
20
20
Update the query path:
21
+
21
22
```bash
22
23
../api/${api_key}/deployments/... -> ../api/deployments/...
23
24
```
25
+
24
26
Add the authorization header:
27
+
25
28
```bash
26
29
authorization: Bearer ${api_key}
27
30
```
28
- Replace ${api_key} with your actual API key.
31
+
32
+ Replace `${api_key}` with your actual API key.
29
33
30
34
You can create and manage your API keys in the [Subgraph Studio](https://thegraph.com/studio) in the " API Keys" section. Learn more about how to use Subgraph Studio [here](/deploying/subgraph-studio).
31
35
>>>>>>> fe7713d0 (Add instructions for adding bearer token to API requests)
You can’t perform that action at this time.
0 commit comments