Skip to content

Commit 6b43f4f

Browse files
author
childish-sambino
authored
docs: replace 'Basic' with 'Bearer' auth in quick start
1 parent e82c7e8 commit 6b43f4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ gem install ruby_http_client
5656

5757
```ruby
5858
require 'ruby_http_client'
59-
global_headers = {'Authorization' => 'Basic XXXXXXX' }
59+
global_headers = {'Authorization' => 'Bearer XXXXXXX' }
6060
client = SendGrid::Client.new(host: 'base_url', request_headers: global_headers)
6161
client.your.api._(param).call.get
6262
puts response.status_code
@@ -68,7 +68,7 @@ puts response.headers
6868

6969
```ruby
7070
require 'ruby_http_client'
71-
global_headers = {'Authorization' => 'Basic XXXXXXX' }
71+
global_headers = {'Authorization' => 'Bearer XXXXXXX' }
7272
client = SendGrid::Client.new(host: 'base_url', request_headers: global_headers)
7373
query_params = { 'hello' => 0, 'world' => 1 }
7474
request_headers = { 'X-Test' => 'test' }

0 commit comments

Comments
 (0)