In this video, learn how to add the proper code in order to get a functional GET ID endpoint for connecting your data to API requests.
- [Instructor] So the next step is to get a single person. … So whenever you actually make API calls … in most cases you're going to need, from time to time, … to get a specific person or a specific point of data … inside of your database … and this is where getting a specific ID comes into play. … So how do we do this inside of our API that we just created? … Very similarly to getting the list of contacts, … all you have to do is basically add the actual contact … number at the end of your URL. … So for example, /1 … and the cool thing of working with Fring … you get the actual link that you can use at each data point … so basically here, … so the href is actually the actual point … that you can get this data and so on and so forth. … Two, three and four … so if you'd like to get the data from this person here … what you could do is literally click on this link here … and then do a get call … and you get the information for this single user … and the same thing goes when we're going to work with Reat. …
- Reviewing the platforms
- Initializing the project
- Defining the first model class
- Setting up the JPA repository
- Building the endpoints for the HTTP class controller
- Creating the front-end components
- Styling components
- Connecting component to the server
- Adding server controllers
Skill Level Intermediate
1. Initial Setup
2. Spring Models
3. HTTP with Spring
4. Basic Frontend with React
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.