Basic Authentication does not work for Search API in Azure DEVOPS

牧云@^-^@ 提交于 2019-12-13 02:55:43

问题


Issue :Basic Authentication does not work for Search API in Azure DEVOPS

API NAME :Work Item Search Results - Fetch Work Item Search Results

API:

POST https://almsearch.dev.azure.com/{organization}/{project}/_apis/search/workitemsearchresults?api-version=5.1-preview.1

Observation : it works fine when i use PAT(Personal Access Token) but does not when i use Basic Authentication in a REST Msg..I am doing all this in ServiceNow

Error: Method failed: (/rahulreddy0193/rahul_1359/_apis/search/workitemsearchresults) with code: 401 - Invalid username/password combo

But I am 100% confident its not username/pwd...because same authentication works for other REST Msgs

来源:https://stackoverflow.com/questions/59038218/basic-authentication-does-not-work-for-search-api-in-azure-devops

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!