Thank you for this clear explanation. Many tutorials are good but assume too much. This starts from the beginning in understanding API wrappers and getting the data you need.
@JesusCastello5 жыл бұрын
Great! I try to make everything clear so everyone can learn :)
@Jambajakumba5 жыл бұрын
Hey thank you for all these lessons. They are really informative on Ruby. Can you do one on act-as-tenant ?
@JesusCastello5 жыл бұрын
Hi, thanks for watching! I need heard about that gem, but I may look into it if I have extra time. Thanks for the suggestion :)
@mun60486 жыл бұрын
Could you help me understand why do we request the API with FARADAY why not use AJAX ?? If we using Faraday what is the advantage over Ajax ?
@JesusCastello6 жыл бұрын
Sure. Ajax is something you do on the front-end, at the Javascript level. A faraday request is made from the back-end, using Ruby. You'll use Ajax for public APIs & to present information to your users directly. You'll use an HTTP request from the back-end to work with private APIs (those that require an API key) & to save the results of that API request to your database.