In this tutorial you will learn how to add a request header when using HTTP Interfaces in Spring Boot 3. This can be useful when you need to add a header to a single request or every single request. You will also learn how to view the headers that are sent to make sure everything is working properly.
00:00 Introduction
00:27 About Http interfaces in Spring Boot
01:53 Setting up the project
03:26 Creating the model
04:28 Setting up the base URL and method
05:56 Configuring the client
07:02 Adding a header to the request
08:33 Logging the request
10:48 Enabling detailed log
12:08 Setting a default header
12:54 Conclusion
🔗Resources & Links mentioned in this video:
What's new in Spring Boot 3: • Spring Boot 3 - What’s new in Spring ...
👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter: / therealdanvega
Github: https://github.com/danvega
LinkedIn: / danvega
Newsletter: https://www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️