mirror of
https://github.com/kou029w/hasura-rest-hands-on.git
synced 2025-02-23 00:55:16 +00:00
fix
This commit is contained in:
parent
1db61f4d85
commit
4aabbf3cbc
1 changed files with 2 additions and 3 deletions
|
@ -4,6 +4,8 @@ GraphQLによるデータの操作を行ってみましょう。
|
|||
|
||||
コンソールのトップ画面に戻ると、GraphiQL (GraphQLのプレイグラウンド、開発環境) を使ってGraphQL APIを実際に試すことが可能です。
|
||||
|
||||

|
||||
|
||||
## データの挿入
|
||||
|
||||
まずGraphQLでデータの挿入を試します。ここでは例として `pages` テーブルに次のデータを書き込みます。
|
||||
|
@ -26,9 +28,6 @@ mutation MyMutation {
|
|||
<!-- prettier-ignore-end -->
|
||||
|
||||
サーバーにリクエストを発行しレスポンスボディとして得られたデータは、右側のパネルに表示されます。
|
||||
|
||||

|
||||
|
||||
問題無くJSONのデータが得られたら、別のデータの書き込みを試してみます。
|
||||
|
||||
例として `pages` テーブルに次のデータを書き込みます。
|
||||
|
|
Loading…
Add table
Reference in a new issue