-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add post to http data source #13169
Comments
Hi @hegerdes, This is a good idea! We can look into this, I can't promise when we'll get around to it though sorry. If you want to please also feel free to look into implementing this and send a PR our way, we'll gladly review it, and if you need help on that, don't hesitate to reach-out! |
This adds support for additional http methods for the http datasource. Fixes hashicorp#13169 Signed-off-by: Henrik Gerdes <[email protected]>
I gave it a try in #13190. Happy for feedback |
This adds support for additional http methods for the http datasource. Fixes hashicorp#13169 Signed-off-by: Henrik Gerdes <[email protected]>
This adds support for additional http methods for the http datasource. Fixes #13169 Signed-off-by: Henrik Gerdes <[email protected]>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.
Description
Acording the docs and code the packer http datasoruce only supports GET while the Terraform datasouce supports multiple HTTP methods. Since it is mostly just copied it should be feature equivalent. During the build users may want to get data based on inputs. Most APIs require the data to be in the body so a POST/PUT is needed or recommended.
Use Case(s)
Potential configuration
Potential References
The text was updated successfully, but these errors were encountered: