Hi Everyone,
Rest API plays an important role while developing any application. If you are a developer then it is a must-have skill nowadays. When we are working on any project the rest API is the one that is used to communicate between backend and frontend.
While developing rest APIs, Post, Put and Delete are important HttpMethod. Post is used to save a new record, Put is used to update an existing record, and delete is used to delete a record.
In this video, we’ll create endpoints for Post (saving the data for Category) and Put ( for updating the record based on some unique id) and Delete (for deleting the record from the database).
Points Covered: 1. Creating Rest API Endpoint
2. Passing Status code in the response with ResponseEntity
3. Communicating with the Service layer
4. Performing Post for an Entity using @PostMapping
5. Performing Put for an Entity @PutMapping
6. Performing Delete for an Entity @DeleteMapping
7. Passing Data to API using @PathVariable and @RequestBody
Source Code (Github): https://github.com/Pithoracademy/Utube
Topics Covered:#post #savingrecord #postMapping #put #updatingrecord #putMapping #delete #deletingrecord #deleteMapping #controller #restcontroller #responseentity #rest #api #endpoint #pithoracademy #springboot #tutorials #java #pathvariable #requestBody
For Spring boot concepts visit:
What & Why Spring boot: • What is Spring Boot and Why we use it?
Dependency Injection & IOC Container: • The Power of Dependency Injection and...
Aspect-Oriented Programming (AOP): • Aspect-Oriented Programming (AOP): Si...
Generate Spring Project: • Spring Boot Made Simple: Generating P...
Project Architecture: • Understanding What We're Developing a...
Auto-generated Code & pom.xml: • Unpacking the Magic: Understanding Pr...
RestController & Endpoint: • Exploring @RestController: Creating R...
Ways to send data to API: • Sending Data to Your API: Understandi...
Autowiring and Dependency Injection: • The Complete Guide to @Autowired: Dem...
Adding Mysql To Application: • Spring Boot Tutorial 10: Adding Mysql...
Creating JPA Entity or Model: • Spring Boot Tutorial 11: Creating JPA...
Creating Service Layer for CRUD Operation: • Spring Boot Tutorial 12: CRUD Operati...
Complete Courses:
Spring Boot Tutorials: • Course Intro: Rest API with Spring bo...
Rest API Concepts: • Course Intro: What is Rest API or Res...