Master Rest API with Spring Boot Step By Step | Content Negotiation in Web API

preview_player
Показать описание
In this video, we will master rest api with spring boot in a step by step process. In this basic rest api tutorial we will focus on content negotiation and why it is important in web api.

While building any rest api , we are mostly concerned with the kind of data that we will be producing and the kind of data that we will be consuming. for an example if our boss asked us to create an rest webservices which will consume json format data and expose data only with xml format. We should know how to implement this as the client may ask our api data, in different format.

In this video we will learn to implement the above with spring boot and postman and explore different spring boot annotations like @Restcontroller, @RequestBody, @GetMapping and also different attributes like produces and consumes. We will learn about different MediaType like XML, JSON, PDF,Plain Text etc.

We will do an analysis on Postman Accept and ContentType request header.

Timestamp
------------------
00:00:00 - Content Negotiation in REST API
00:05:28 - Spring Boot Start Project
00:07:47 - Adding Lombok
00:09:05 - Creating a Spring Boot RestController
00:13:10 - Postman Console analysis : Accept & Content Type
00:25:24 - Producing JSON data with Spring Boot API
00:29:13 - Content Negotiation in Action
00:32:26 - Spring Boot XML Support for REST API
00:45:34 - Spring Boot JSON MediaType support
00:47:33 - How to use Maven Exclusion
00:56:50 - One Handler Method and Many MediaType
01:02:44 - Spring Boot Rest API PDF support
01:07:32 - @PostMapping consumes
01:23:57 - @RequestBody
01:32:37 - Producing and Consuming data with @PostMapping

#springboot #restapi #springboottutorial #springrest

For More free/paid courses visit

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers

Watch Spring boot Hot topics

Java Interview / Question and Answer series

Explain spring Bean Lifecycle

spring core

spring mvc

spring mvc intermediate

Spring JDBC

spring live project

SPRING SECURITY COURSE[NEW]

For more courses visit

Any time you are getting stuck with issues, Feel free to ask for support.

you can ping me on my Facebook page

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"

you can ask for support in my website forum

Subscribe to my youtube channel

Follow me on Insta
Рекомендации по теме
Комментарии
Автор

wow, awesome the way of explanation. Very deep describe step by step. Thanks for such content Abhi :)

niranjanpadhi
Автор

Need full stack Java playlist...you creating videos in bits and pieces 😢😢😢

SabaNaz-fsgh
Автор

Hi Abhilash sir Pls video on spring security jwt

prachisonawane
Автор

You teach deeply. Please come up with the kafka

girishchaudhari
Автор

hi Abhilash ! can we get the "RestApi calling" series ?

prakashgutta
Автор

hi abhilash
I am a good fan of you and your videos the way you are explaining is very good
can i get the Kafka tutorials as well if possible.

sivarama
welcome to shbcf.ru