Skip to content

Commit c74f8b0

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,18 @@ Each subgraph published to the decentralized Graph Explorer has a unique query U
2828
As you can notice, this query URL must use a unique API key. A bearer token can also be used to authenticate the query.
2929

3030
Update the query path:
31+
3132
```bash
3233
../api/${api_key}/deployments/... -> ../api/deployments/...
3334
```
35+
3436
Add the authorization header:
37+
3538
```bash
3639
authorization: Bearer ${api_key}
3740
```
38-
Replace ${api_key} with your actual API key.
41+
42+
Replace `${api_key}` with your actual API key.
3943

4044
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).
4145

0 commit comments

Comments
 (0)