Skip to content

Commit

Permalink
Merge pull request #16 from winebarrel/update_readme
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
winebarrel committed Dec 18, 2021
2 parents 7b8750f + 8aa7336 commit 5a50b9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -13,6 +13,9 @@
* `faraday >= 0.15`
* `faraday_middleware-aws-sigv4 >= 0.5.0`
* `ruby >= 2.4`
* `faraday_middleware-aws-sigv4 >= 0.6.0`
* `ruby >= 2.4`
* `faraday >= 0.18`

## Installation

Expand Down Expand Up @@ -53,6 +56,9 @@ conn = Faraday.new(url: 'https://apigateway.us-east-1.amazonaws.com') do |farada
faraday.response :json, content_type: /\bjson\b/
faraday.response :raise_error


# NOTE: If you need to send case sensitive headers like `x-amz-access-token` in `SP API`.
# cf. https://github.com/lostisland/faraday/issues/747#issuecomment-439864181
faraday.adapter Faraday.default_adapter
end

Expand Down

0 comments on commit 5a50b9e

Please sign in to comment.