docs/decks/azconf-dev-2021/slides/13-queries-and-mutation.md
---
name: Queries and Mutations
---
## Queries and Mutations
Unlike REST APIs, GraphQL exposes a **single endpoint**.
<section reveal style="order: 3">
There are only two verbs in GraphQL: `query` reads the graph and `mutation` updates the graph.
</section>
<section reveal style="align-self: center;">
<dl class="analogy" center>
<dt><code>GET</code></dt>
<dd><code>query</code></dd>
<dt><code>POST</code>,<br/><code>PUT</code>,<br/><code>DELETE</code></dt>
<dd><code>mutation</code></dd>
</dl>
</section>