Skip to content

Commit 4d70592

Browse files
author
childish-sambino
authored
docs: replace 'Basic' with 'Bearer' auth in quick start
1 parent 1a4f4ec commit 4d70592

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Here is a quick example:
6565
6666
import python_http_client
6767
68-
global_headers = {"Authorization": "Basic XXXXXXX"}
68+
global_headers = {"Authorization": "Bearer XXXXXXX"}
6969
client = Client(host='base_url', request_headers=global_headers)
7070
client.your.api._(param).call.get()
7171
print(response.status_code)
@@ -78,7 +78,7 @@ Here is a quick example:
7878
7979
import python_http_client
8080
81-
global_headers = {"Authorization": "Basic XXXXXXX"}
81+
global_headers = {"Authorization": "Bearer XXXXXXX"}
8282
client = Client(host='base_url', request_headers=global_headers)
8383
query_params = {"hello":0, "world":1}
8484
request_headers = {"X-Test": "test"}

0 commit comments

Comments
 (0)