In this video, learn how to add the proper code in order to get a functional PUT endpoint for connecting your data to API requests.
- So the next step is to be able to update … a specific contact. So the way to do this … is to basically first figure out which contact … we want to update. So, if we go back to getting … a list of contacts first, we would do a get call … and then API/contact and do a send, and then we … would get the list of contacts. So, if we were to … update any of those contacts, lets say the third one, … in our array we would have several objects which … would be out contact, and inside of that object we … would have the underscore link self href, which … would give us the actual URL that we need to use … to update that contact. So, for example, if we … wanted to update this guy here, we would literally, … inside of postman, double click here and then do … a PUT method. So, we would select in our methods here … the PUT method and then make the proper changes to … update the contact. So lets go ahead and do that. … So first off, like when we do a post contact, we need … to change the header. So, the first thing that we would …
- 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.