Criar o projeto com o comando:
rails new rails-api --api --skip-active-record
- https://guides.rubyonrails.org/routing.html#resources-on-the-web
- https://www.ruby-toolbox.com/categories/http_clients
- https://github.com/trusche/httplog
- https://github.com/rails/activeresource
- https://github.com/savonrb/httpi
- https://designer.mocky.io/
BROWSER => REQUEST HTTP JSON => APP => RESPONSE HTTP JSON APP: REQUEST => ROUTER => CONTROLLER => VIEW => RESPONSE CONTROLLER => Action => Services