We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e82c7e8 commit 6b43f4fCopy full SHA for 6b43f4f
README.md
@@ -56,7 +56,7 @@ gem install ruby_http_client
56
57
```ruby
58
require 'ruby_http_client'
59
-global_headers = {'Authorization' => 'Basic XXXXXXX' }
+global_headers = {'Authorization' => 'Bearer XXXXXXX' }
60
client = SendGrid::Client.new(host: 'base_url', request_headers: global_headers)
61
client.your.api._(param).call.get
62
puts response.status_code
@@ -68,7 +68,7 @@ puts response.headers
68
69
70
71
72
73
query_params = { 'hello' => 0, 'world' => 1 }
74
request_headers = { 'X-Test' => 'test' }
0 commit comments