# GraphQL 客戶端

GraphQL 是一種用於查詢和操作 API 的查詢語言，你可以直接使用 fetch(or axios) 向 Qubic GraphQL Server 發送請求

我們建議使用 [graphql-request](https://github.com/prisma-labs/graphql-request) 這套輕量的函式庫作為開發的工具，我們提供的範例也會使用它進行介紹

如果你有 GraphQL 的開發經驗，也可以使用 [Apollo](https://www.apollographql.com/) 進行溝通，我們建議將邏輯以 [Apollo Link](https://www.apollographql.com/docs/react/api/link/introduction/) 的形式封裝


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://qubic.gitbook.io/docs/guides/use-graphql/qraphql-clients.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
