mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
This adds support for additional http methods for the http datasource. Fixes #13169 Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
9 lines
583 B
Text
9 lines
583 B
Text
<!-- 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; -->
|