mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-20 15:01:40 -04:00
This adds support for additional http methods for the http datasource. Fixes #13169 Signed-off-by: Henrik Gerdes <[email protected]>
10 lines
583 B
Plaintext
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; -->
|