How to specify a user id and password for Visual Studio Code with an authenticating proxy?

后端 未结 9 1937
谎友^
谎友^ 2020-12-08 01:38

How to specify a user id and password for Visual Studio Code with an authenticating proxy?

I\'ve seen the Proxy Server Support on the main VS Code site, but this onl

9条回答
  •  天涯浪人
    2020-12-08 01:53

    in Visual Studio Code (my version is 1.32.3) you write a request, i.e.

    ### my request
    GET https://defdomain.prefix.com/app/resource
    Authorization: bXl1c2VyOnVzZXIyMkBwYXNzd29yZA==
    

    Wherefore the Authorization header is of type "Basic base64encoded" and consists of myuser:user22@password (username:usercredentials) base64 encoded. Thats all.

提交回复
热议问题