Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to create a Rails Web application which consume its data from an API using JSON API Specification

Kelvin Firmino asked in Rails

Hi, good afternoon.

Chris, I ahve noticed that there are companies asking for consuming an API using JSON API Specification where I should consume its data and create a front-end with Rails to show this information.

Do you have any material or video that talk about it?

It also asked to store this information in a Memory Database like Redis.

Thanks in advance for your help.

Reply

I did an episode on that here: https://gorails.com/episodes/consuming-an-api-using-httparty-and-creating-a-gem

It's using the HTTParty gem, but you can also use like RestClient as well which I believe I've talked about in an episode or two as well.

Reply

Thanks for the information.

What did you mean with "you can also use like RestClient as well"?

Reply

There are many ways to talk to an API. HTTParty, RestClient, etc are all options you could use.

Reply

Ok, thanks for the information.

It is another Gem.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.