How to call a Java REST API using JDK Http Client

Поделиться
HTML-код
  • Опубликовано: 28 янв 2024
  • 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/danvega/todos-http...
    👋🏻Connect with me:
    Website: www.danvega.dev
    Twitter: / therealdanvega
    Github: github.com/danvega
    LinkedIn: / danvega
    Newsletter: www.danvega.dev/newsletter
    SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️
  • НаукаНаука

Комментарии • 19

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 3 месяца назад +2

    Thanks for another amazing tutorial! Your channel is truly fantastic and I appreciate all your hard work! 💛

  • @AnonymousInsaan87
    @AnonymousInsaan87 4 месяца назад +6

    A well deserved java champion 🎉

    • @DanVega
      @DanVega  4 месяца назад +1

      Thank you!

  • @sharatchander1186
    @sharatchander1186 4 месяца назад +1

    Excellent and informative video!

  • @daver94
    @daver94 4 месяца назад +1

    Nice video 🎉

  • @swarajgore8012
    @swarajgore8012 12 дней назад

    Hi Dan, couldn't find the "getting started with maven link"

  • @jeevaathecoder
    @jeevaathecoder 4 месяца назад +2

    Hii Sir, Your Content are really Awesome, Make a Video on Spring WebSocket by creating some of the Chatting Application.

    • @DanVega
      @DanVega  4 месяца назад +1

      Thanks for the idea!

    • @jeevaathecoder
      @jeevaathecoder 4 месяца назад

      @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

  • @rachdiilyasse2513
    @rachdiilyasse2513 4 месяца назад +1

    Thank's for your useful content, could you speak about http logging please ?

    • @DanVega
      @DanVega  4 месяца назад +2

      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 4 месяца назад

      @@DanVega is it working for logging input request (including the boddy) and also the http response ?

  • @abdulfatorma348
    @abdulfatorma348 4 месяца назад

    Congratulations

  • @AnonymousInsaan87
    @AnonymousInsaan87 4 месяца назад +2

    Intellij theme name ?

    • @DanVega
      @DanVega  4 месяца назад

      ruclips.net/video/g78is10FjF0/видео.html

  • @jack9171
    @jack9171 4 месяца назад +1

    nice video. but can you make video on spring ai

    • @DanVega
      @DanVega  4 месяца назад +2

      I have a bunch of AI / Spring AI content coming soon!

    • @premium621
      @premium621 4 месяца назад

      That sounds great and excited !! @@DanVega