These are chat archives for Mashape/unirest-ruby

11th
Jan 2018
zhiying
@waynelei
Jan 11 02:44

def profile
require 'unirest'
response = Unirest.get("https://www.mocky.io/v2/5a553cd92d0000ae465b1f2e") {|response|
@res = response.body
puts "#{@res}"
render json: {result: @res}
}

render json: {result: @res}

end