When I make a POST request to the Build Create API I receive a 200 with null response.
Here is the example endpoint I am requesting:
drone.example.com/api/repos/example-namespace/example-name/builds?branch=example-branch
The response: HTTP/1.1 200 OK cache-control: no-cache, no-store, must-revalidate, private, max-age=0 content-type: application/json expires: Thu, 01 Jan 1970 00:00:00 UTC pragma: no-cache vary: Origin x-accel-expires: 0 date: Wed, 10 Feb 2021 20:51:33 GMT content-length: 5 x-envoy-upstream-service-time: 94 server: istio-envoy null
One thing I’m unsure of is if the {namespace}
and {name}
parameters I am passing are correct shown here:
POST /api/repos/{namespace}/{name}/builds