{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"Web Dev with Matt","title":"How to Set a POST Variable From a File When Using Curl","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/b9fe3ca8\"></iframe>","width":"100%","height":180,"duration":1148,"description":"When using curl, how do you set the value of one or more of the POST variable’s from the contents of a file? For the longest time, I didn’t know. But recently I found out. In this post, I’ll step you through several ways you can do it.Links from the episodeThe curl manpagecurlRFC 2388multipart/form-dataSTDINThe post which this episode was based on: How to Set a Post Variable from a File When Using Curl.Want to grow your knowledge further?Check out the books below, where you can grow your web development skills in a very focused, very hands-on way.Deploy with Docker ComposeMezzio EssentialsHosted and produced by: Matthew Setter.Website: https://matthewsetter.com.Follow me on: LinkedIn and Twitter.If you like the podcast, and want to support it, how about buying me a coffee?","thumbnail_url":"https://img.transistorcdn.com/ErogIDxqOFQN8RVLHvl3XfLOJ_kkPEv3rY7vQp7PDxI/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzEyNjc1LzE2NzIz/ODI3ODYtYXJ0d29y/ay5qcGc.webp","thumbnail_width":300,"thumbnail_height":300}