From the course: AWS and React: Creating Full-Stack Apps

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Testing an AppSync GraphQL API

Testing an AppSync GraphQL API

- [Instructor] Okay, so now we're going to look at what I did with the AppSync API. I want to check it out in the console and play around with some things there. Some aspects that were created, including logging in to the user pool so that I can run some queries like adding a new Todo item. So I'm going to check that out. So back in the console I have the App-Sync console up. I'm going to click on my API and I can look at the various pieces that I've seen when I did the API directly in this UI. I'm going to go down to the queries and I want to run a query. I know I've got the to-do and the list items and I can look at the mutations and so forth. But I want to open these docs up over here. This is interesting to me on the right side. I'm going to go to the mutation and I want to see the createTodo. So it takes input, which is a createTodo input and potentially returns it Todo so I can specify what's coming back. So the…

Contents