? Please select from one of the below mentioned services: GraphQL
명령어를 이용하여 열린
AppSync
대시보드의 왼쪽 메뉴에서 [
Queries
]를 클릭하여 쿼리 편
집기를 엽니다. 쿼리 편집기를 이용하면
API
를 사용하여 그래프
QL
쿼리, 뮤테이션, 서브스크
립션을 테스트할 수 있습니다.
가장 먼저 새 노트를 생성하는 뮤테이션을 테스트해보겠습니다. 쿼리 편집기에서 [그림
3
-
3
]
처럼 다음 뮤테이션을 실행해보겠습니다.
mutation createNote {
createNote(input: {
name: "Book flight"
description: "Flying to Paris on June 1 returning June 10"
completed: false
}) {
id name description completed
}
}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.