I am trying to Queue a Build using a REST API call. I am sending a POST request to POST https://dev.azure.com/{organization}/{project}/_apis/build/builds?api-version=6.0
With the request body:
{"build" : {
"Definition" : 1
}
}
I have also tried other request body sample. But none of them works. How do I send a request to queue this build? In the header, I am sending my PAT and it is working.
I am trying to Queue a Build using a REST API call. I am sending a POST request to
POST https://dev.azure.com/{organization}/{project}/_apis/build/builds?api-version=6.0
With the request body:I have also tried other request body sample. But none of them works. How do I send a request to queue this build? In the header, I am sending my PAT and it is working.