Files
Packer-Cn/website/content/partials/datasource/http/Config-not-required.mdx
Henrik Gerdes 6c40bfb0cd feat: allow additional methods in http datasource
This adds support for additional http methods for the http datasource.
Fixes #13169

Signed-off-by: Henrik Gerdes <[email protected]>
2024-10-29 16:27:26 -04:00

10 lines
583 B
Plaintext

<!-- Code generated from the comments of the Config struct in datasource/http/data.go; DO NOT EDIT MANUALLY -->
- `method` (string) - HTTP method used for the request. Supported methods are `HEAD`, `GET`, `POST`, `PUT`, `DELETE`, `OPTIONS`, `PATCH`. Default is `GET`.
- `request_headers` (map[string]string) - A map of strings representing additional HTTP headers to include in the request.
- `request_body` (string) - HTTP request payload send with the request. Default is empty.
<!-- End of code generated from the comments of the Config struct in datasource/http/data.go; -->