Skip to content

Commit f2f85b0

Browse files
Update website/pages/en/querying/querying-the-graph.mdx
Co-authored-by: Benoît Rouleau <[email protected]>
1 parent 9b416dc commit f2f85b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

website/pages/en/querying/querying-the-graph.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ Learn more about querying from an application [here](/querying/querying-from-an-
1818
As you can notice, this query URL must use a unique API key. A bearer token can also be used to authenticate the query.
1919

2020
Update the query path:
21+
2122
```bash
2223
../api/${api_key}/deployments/... -> ../api/deployments/...
2324
```
25+
2426
Add the authorization header:
27+
2528
```bash
2629
authorization: Bearer ${api_key}
2730
```
28-
Replace ${api_key} with your actual API key.
31+
32+
Replace `${api_key}` with your actual API key.
2933

3034
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).
3135
>>>>>>> fe7713d0 (Add instructions for adding bearer token to API requests)

0 commit comments

Comments
 (0)