README.md in hyperclient-0.8.0 vs README.md in hyperclient-0.8.1

- old
+ new

@@ -8,11 +8,11 @@ Hyperclient is a Hypermedia API client written in Ruby. It fully supports [JSON HAL](http://stateless.co/hal_specification.html). ## Usage -The examples in this README use the [Splines Demo API](https://github.com/dblock/grape-with-roar) running [here](https://grape-with-roar.herokuapp.com/api). If you're upgrading from a previous version, please make sure to read [UPGRADING](UPGRADING.md). +The examples in this README use the [Splines Demo API](https://github.com/ruby-grape/grape-with-roar) running [here](https://grape-with-roar.herokuapp.com/api). If you're upgrading from a previous version, please make sure to read [UPGRADING](UPGRADING.md). ### API Client Create an API client. @@ -197,10 +197,11 @@ Acme::App.instance end let(:client) do Hyperclient.new('http://example.org/api') do |client| + client.headers['Content-Type'] = 'application/json' client.connection(default: false) do |conn| conn.request :json conn.response :json conn.use Faraday::Adapter::Rack, app end @@ -211,10 +212,10 @@ expect(client.splines.count).to eq 3 end end ``` -For a complete example refer to [this Splines Demo API test](https://github.com/dblock/grape-with-roar/blob/master/spec/api/splines_endpoint_with_hyperclient_spec.rb). +For a complete example refer to [this Splines Demo API test](https://github.com/ruby-grape/grape-with-roar/blob/master/spec/api/splines_endpoint_with_hyperclient_spec.rb). ## Reference [Hyperclient API Reference](http://rubydoc.org/github/codegram/hyperclient/master/frames).