From the course: Building Full-Stack Apps with React and Spring

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

GET endpoint

GET endpoint

From the course: Building Full-Stack Apps with React and Spring

Start my 1-month free trial

GET endpoint

- [Instructor] So the next step is to test, our get endpoint with Postman. So in the last video, we created a whole bunch of people inside of our Contacts list. So let's go ahead and get those contacts. So it's fairly easy to get those contacts. So basically what you need to do is click the actual method to get, and then keep the same URL and then click Send. And then if we remove the params, what you can see is that we have our list of people. So we have Emmanuel, Manny, Emmanuel again, and then Kim. And these are all the contacts that we've actually posted with our post method. So if you were to use this inside of React, what you'd do is basically make this call with a get call and then send. And then you would get a list, or an array, of people or contacts that you could use inside of the application to replicate across multiple components. I will get to that in the next chapter. So now that we've actually explored how to get people, we'll explore how to actually get a specific…

Contents