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:
parent
ded9613f7a
commit
6a5a8693a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue