问题
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