Skip to content

Commit 9ea65d4

Browse files
authored
Merge pull request #3736 from segmentio/tlalfano-patch-1
update http api index file
2 parents 1925a16 + bf037c3 commit 9ea65d4

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/server/http-api

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/server/http-api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Segment has native [sources](/docs/connections/sources/) for most use cases (lik
1414
Authenticate to the Tracking API by sending your project's **Write Key** along with a request.
1515
Authentication uses HTTP Basic Auth, which involves a `username:password` that is base64 encoded and prepended with the string `Basic`.
1616

17-
In practice that means taking a Segment source **Write Key**,`'abc123'`, as the username, adding a colon, and then the password field is left empty. After base64 encoding `'abc123:'` becomes `'YWJjMTIzOg=='`; and this is passed in the authorization header like so: `'Authorization: Basic YWJjMTIzOg=='`.
17+
In practice that means taking a Segment source **Write Key**,`'abc123'`, as the username, adding a colon, and then the password field is left empty. After base64 encoding `'abc123'` becomes `'YWJjMTIz'`; and this is passed in the authorization header like so: `'Authorization: Basic YWJjMTIz'`.
1818

1919
### Content-Type
2020

0 commit comments

Comments
 (0)