How To Handle API Errors Reactively With Spring WebFlux and WebClient

preview_player
Показать описание
Hey there! In this tutorial, I'll demo how to consume the GitHub API using the Spring Boot WebClient. The exciting part will be handling the response body if the API doesn't return the content we expect but replies with an error body instead.

🍃 Grab the code

🙌 Get in Touch

🍿 Subscribe if you want to see more Spring Boot + Kotlin tutorials!
Рекомендации по теме
Комментарии
Автор

Thanks a lot, You made my day !
This is what I have been looking for days...
Thanks a lot!!!

dhotreashish
Автор

I keep getting a error saying “ an exception error occurred during a web client request “

gage
Автор

Thank you, very nice tutorial,
please consider to do a tutorial with REST with storing a data to DB with focusing on project structure for Kotlin etc.
and maybe having 2 clients for data aggregation, a.g. fetch a data from 2 sources and merge them to one object before saving to DB

Denys.Stoianov