1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

update code example to avoid confusion w base_uri method

This commit is contained in:
Brick Thornton 2015-08-10 14:18:57 -07:00
parent ded9613f7a
commit 6a5a8693a8

View file

@ -18,7 +18,7 @@ gem install httparty
```ruby
# Use the class methods to get down to business quickly
response = HTTParty.get('https://api.stackexchange.com/2.2/questions?site=stackoverflow')
response = HTTParty.get('http://api.stackexchange.com/2.2/questions?site=stackoverflow')
puts response.body, response.code, response.message, response.headers.inspect