Web Dev with Matt
How to Set a POST Variable From a File When Using Curl
19:08
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 episode
The curl manpage
curl
RFC 2388
multipart/form-data
STDIN
The post which this episode was based on: How to Set a Post Variable from a…