How to Set a POST Variable From a File When Using Curl
Failed to add items
Sorry, we are unable to add the item because your shopping basket is already at capacity.
Add to cart failed.
Please try again later
Add to wishlist failed.
Please try again later
Remove from wishlist failed.
Please try again later
Follow podcast failed
Unfollow podcast failed
-
Narrated by:
-
Written by:
About this listen
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 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 Compose
- Mezzio Essentials
Hosted 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?
★ Support this podcast on Patreon ★
No reviews yet