Drone

Allow passing custom parameters in request body instead of as query params

When using the API to interact with the Drone server, I wish I could create a build with custom parameters set inside the body of the request instead in of the query params.

4 Likes

I have not found a way to do this either, but it would be much appreciated.

You can find examples here:
https://docs.drone.io/api/builds/build_create/

Instead of passing query parameters in the url, you maybe be able to pass the query parameters in the http body as form-data. If not, we would accept a pull request to do so.

1 Like