API Requests In Rails With The Faraday Gem | Ruby On Rails 7 Tutorial
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
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!
sadness is why they are removed 😢.. is it downfall of rails that I am feeling.... but its as good video as usual
Thanks Dean. I always learn something new in all your videos!
Many thanks!
amazing : )
TY!!!
client part on wasm will be interesting