You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is, with the basic authorization replaced with a base64 encoded representation, like what you would get when sending the request directly from the extension.
Anyway, thanks for creating the best HTTP-client for VSCode (that I have found this far ;) )!
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
Create a file auth.http:
GET https://example.com/api/some/endpoint
Authorization: Basic my-user my-password
Right-click and select "Generate code snippet". Select "Shell" and then "cUrl".
Result:
curl --request GET
--url https://example.com/api/some/endpoint
--header 'authorization: Basic my-user my-password'
Expected result:
curl --request GET
--url https://example.com/api/some/endpoint
--header 'authorization: Basic bXktdXNlcjpteS1wYXNzd29yZA=='
That is, with the basic authorization replaced with a base64 encoded representation, like what you would get when sending the request directly from the extension.
Anyway, thanks for creating the best HTTP-client for VSCode (that I have found this far ;) )!
The text was updated successfully, but these errors were encountered: