API Requests In Rails With The Faraday Gem | Ruby On Rails 7 Tutorial

Sdílet
Vložit
  • čas přidán 5. 02. 2023
  • The Faraday gem allows you to make API requests to remote servers more easily by providing a common interface across many adapters.
    Checkout my course(s) at: learn.deanin.com
    Source:
    github.com/Deanout/faraday
    Links:
    github.com/lostisland/faraday
    github.com/Deanout/openai_rai...
    From the GitHub Repo:
    Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle. You probably don't want to use Faraday directly in your project, as it will lack an actual client library to perform requests. Instead, you probably want to have a look at Awesome Faraday for a list of available adapters.
    Join this channel to help support these videos:
    / @deanin
    Follow me on social media:
    linktr.ee/deanin
    If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
    #Deanin #Software #Programming

Komentáře • 7

  • @Deanin
    @Deanin  Před rokem +5

    Saw a few people running into some deleted API pages for the Ruby sections on some websites recently.
    Thought this might be good to address early to try and help combat it. Hope this helps!

    • @developerfoe
      @developerfoe Před rokem

      sadness is why they are removed 😢.. is it downfall of rails that I am feeling.... but its as good video as usual

  • @mariners_platter
    @mariners_platter Před rokem +1

    Thanks Dean. I always learn something new in all your videos!

  • @ledockol
    @ledockol Před rokem

    Many thanks!

  • @azizdevfull
    @azizdevfull Před rokem +1

    amazing : )

  • @tetyanagon3342
    @tetyanagon3342 Před 10 měsíci

    TY!!!

  • @ddd2283
    @ddd2283 Před rokem

    client part on wasm will be interesting