Spring Boot with Kotlin & JUnit 5 - Tutorial 9 - POST Endpoint

Опубликовано: 29 Сентябрь 2024
на канале: thenewboston
14,034
371

🐣 Early-bird access to all of Peter’s future courses:
🎓 Learn Kotlin on Peter’s channel:    / petersommerhoff  
👩🏽‍💻 Join the CodeAlong.TV Discord community:   / discord  

Spring Boot - Web Layer - POST Endpoint to Add New Bank & JUnit 5
In REST APIs, a GET endpoint allows your users to fetch some data. In contrast, a POST endpoint allows sending information to the Spring Boot service via a request body (typically JSON or XML).
In this video, we create add POST endpoint to our Spring Boot application to allow users to register a new bank in the system. Of course, we use test-driven development again to create integration tests with JUnit 5 and Kotlin to test the behavior of our new REST endpoint. Here, you’ll learn how to submit a request body with MockMvc in Spring.

Social
Follow Peter on Twitter:   / petersommerhoff  
Follow Peter on LinkedIn:   / petersommerhoff  

GitHub Repository for This Tutorial Series
https://github.com/petersommerhoff/th...

Learn Kotlin
Kotlin Masterclass: planned
JUnit 5 Bootcamp: planned
☝️ Please sign up for early bird access above to be notified as soon as they launch!

Check out Peter’s Udemy Courses
Kotlin for Beginners: https://www.udemy.com/course/kotlin-c...
Kotlin for Java & Android Developers: https://www.udemy.com/course/kotlin-a...