I created a small script to consume my API, in Ruby.
require 'http'
data =
response = HTTP.get("http://localhost:9292/api/boleto", :params => {:type => 'pdf', :bank => 'blabla', :data=> '{...}'})
puts response.body # retorna um...
asked by
06.04.2018 / 16:20