Reputation: 137
i am getting 401 - Unauthorised: Access is denied due to invalid credentials error while i am trying to access the TFS API by Postman
https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql
this is i am putting in my Postman
http://apactfs.cbre.com:8080/tfs/applications/DefaultCollection/_apis/wit/workitems?ids=297,299,300&api-version=1.0
Upvotes: 0
Views: 5883
Reputation: 11
for this need to change settings
Click here to View Options options
need to configure these options based on this only a response will come
Upvotes: 1
Reputation: 31053
You need to go to Authorization tab to choose Basic Auth
and specify the username and password there:
Make sure you have enable Basic Auth for your TFS:
Upvotes: 1