Authenticating to VisualStudioOnline REST API with Personal Access Token using Python 3.6

后端 未结 1 349
花落未央
花落未央 2021-01-21 12:49

I am trying to use the VisualStudioOnline REST API using python 3.6. (Plenty of examples using python 2.x.)

The python script response is the generic html login page.

1条回答
  •  无人及你
    2021-01-21 13:04

    In my experience with doing this via other similar mechanisms, you have to include a leading colon on the PAT, before base64 encoding.

    0 讨论(0)
提交回复
热议问题