📜  Rails Faraday GET 请求 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:07.550000             🧑  作者: Mango

代码示例1
url = 'http://httpbingo.org/get'
response = Faraday.get(url, {boom: 'zap'}, {'User-Agent' => 'myapp'})
# => GET http://httpbingo.org/get?boom=zap