File tree Expand file tree Collapse file tree
website/src/pages/en/subgraphs/querying Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,19 +32,17 @@ A new window will pop up:
3232
3333When you query The Graph from your dapp, you can use your API key in two ways:
3434
35- 1 . In the URL (Optimal Method for Subgraph Queries ):
35+ 1 . In the URL (optimal method for Subgraph queries ):
3636
37- Append the API Key directly to your query endpoint:
37+ Include the API Key directly to your query endpoint:
3838
3939 ```
4040 https://gateway.thegraph.com/api/<YOUR_API_KEY>/subgraphs/id/<SUBGRAPH_ID>
4141 ```
4242
43- > [ !NOTE ] This allows you to use various GraphQL client libraries to query Subgraphs and populate your application with indexed data.
43+ 2 . As a bearer Token:
4444
45- 2 . As a Bearer Token:
46-
47- Include your API Key in the request header for added security:
45+ Include your API Key in the ` Authorization ` request header for added security:
4846
4947 ```
5048 Authorization: Bearer <YOUR_API_KEY>
You can’t perform that action at this time.
0 commit comments