While calling a REST API for Azure DevOps I am getting an error 203 Non-Authoritative Information
.
Actually I want to trigger a release pipeline line with the help of REST API.
5
votes
docs.microsoft.com/en-us/rest/api/azure/devops/release/…
– Yan Sklyarenko
Just wanted to check before the weekend what the status on this issue was? Is it succeed for you to use postman by follow the below steps? Appreciate for marking it as an answer which will also help others in the community.
– Merlin Liang - MSFT
2 Answers
8
votes
0
votes
Yes, we are passing the PAT wrongly.
Just another way of doing it, COPY
the PAT encode that to base64 manually from a site like - https://www.base64encode.org/
Note - make sure you add ":" as a
prefix
on PAT and then encode that.
Copy the encoded value to header on Authorization as mentioned -
Hope this will help a few, the only catch was to make sure we add the ":" on the mentioned position.