How to call a Java REST API using JDK Http Client

  Рет қаралды 8,635

Dan Vega

Dan Vega

Күн бұрын

In this tutorial you will learn how to call a REST API using the JDK's Http Client. In this example you will call a public REST API and build out an entire CRUD service complete with tests using JUnit 5.
🔗Resources & Links mentioned in this video:
GitHub Repo: github.com/dan...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/dan...
LinkedIn: / danvega
Newsletter: www.danvega.de...
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Пікірлер: 22
@AnonymousInsaan87
@AnonymousInsaan87 8 ай бұрын
A well deserved java champion 🎉
@DanVega
@DanVega 8 ай бұрын
Thank you!
@kostiantynkarzhanov9216
@kostiantynkarzhanov9216 7 ай бұрын
Thanks for another amazing tutorial! Your channel is truly fantastic and I appreciate all your hard work! 💛
@PauloCabelloAtxa
@PauloCabelloAtxa 2 ай бұрын
Great resource and very useful video overall. Thank you for teaching us!!!
@sharatchander1186
@sharatchander1186 8 ай бұрын
Excellent and informative video!
@stocothedude
@stocothedude 4 ай бұрын
I love the native JDK HttpClient 🎉
@SwampyFox
@SwampyFox 2 ай бұрын
Thank you. Experienced C# developer, but, trying to get a sample Java (new to me) for calling an API. This was nice, easily digestible and was easy to relate back to my .NET Experience. Is there a reference to integrating with OAuth and the HttpClient?
@jeevaathecoder
@jeevaathecoder 8 ай бұрын
Hii Sir, Your Content are really Awesome, Make a Video on Spring WebSocket by creating some of the Chatting Application.
@DanVega
@DanVega 8 ай бұрын
Thanks for the idea!
@jeevaathecoder
@jeevaathecoder 8 ай бұрын
@DanVega try to implement one to one chat, at the same time one user can handle multiple requests but everyone is connected separately like that
@swarajgore8012
@swarajgore8012 4 ай бұрын
Hi Dan, couldn't find the "getting started with maven link"
@rachdiilyasse2513
@rachdiilyasse2513 8 ай бұрын
Thank's for your useful content, could you speak about http logging please ?
@DanVega
@DanVega 8 ай бұрын
Yes! What are you interested in doing? Do you just want to turn on logging for the Http Client? You can do so with -Djdk.httpclient.HttpClient.log=all
@rachdiilyasse2513
@rachdiilyasse2513 8 ай бұрын
@@DanVega is it working for logging input request (including the boddy) and also the http response ?
@daver94
@daver94 8 ай бұрын
Nice video 🎉
@AnonymousInsaan87
@AnonymousInsaan87 8 ай бұрын
Intellij theme name ?
@DanVega
@DanVega 8 ай бұрын
kzbin.info/www/bejne/nWibmqZnZaudfJI
@abdulfatorma348
@abdulfatorma348 8 ай бұрын
Congratulations
@jack9171
@jack9171 8 ай бұрын
nice video. but can you make video on spring ai
@DanVega
@DanVega 8 ай бұрын
I have a bunch of AI / Spring AI content coming soon!
@premium621
@premium621 8 ай бұрын
That sounds great and excited !! @@DanVega
I have been named a Java Champion
16:40
Dan Vega
Рет қаралды 3,1 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 30 МЛН
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 45 МЛН
How To Call a REST API In Java - Simple Tutorial
29:14
Coding with John
Рет қаралды 277 М.
Stop using the HttpClient the wrong way in .NET
10:14
Nick Chapsas
Рет қаралды 193 М.
The standard library now has all you need for advanced routing in Go.
13:52
Spring Boot Rest Client Interceptors
14:00
Dan Vega
Рет қаралды 10 М.
Java is slow and verbose (or so they say)
20:39
Dan Vega
Рет қаралды 10 М.
When To Unit, E2E, And Integration Test
14:58
ThePrimeTime
Рет қаралды 99 М.