Skip to content

Commit ab8e626

Browse files
committed
Update query URL and authorization header in querying-the-graph.mdx
1 parent 1703223 commit ab8e626

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

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

+1-8
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,20 @@ Each subgraph published to The Graph Network has a unique query URL in Graph Exp
1212

1313
![Query Subgraph Pane](/img/query-subgraph-pane.png)
1414

15-
<<<<<<< HEAD
1615
Learn more about querying from an application [here](/querying/querying-from-an-application).
17-
=======
1816
As you can notice, this query URL must use a unique API key. A bearer token can also be used to authenticate the query.
1917

2018
Update the query path:
21-
2219
```bash
2320
../api/${api_key}/deployments/... -> ../api/deployments/...
2421
```
25-
2622
Add the authorization header:
27-
2823
```bash
2924
authorization: Bearer ${api_key}
3025
```
31-
32-
Replace `${api_key}` with your actual API key.
26+
Replace ${api_key} with your actual API key.
3327

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

3730
As you can notice, this query URL must use a unique API key. You can create and manage your API keys in [Subgraph Studio](https://thegraph.com/studio), in the "API Keys" section. Learn more about how to use Subgraph Studio [here](/deploying/subgraph-studio).
3831

0 commit comments

Comments
 (0)