How can I rewrite the following CURL command, so that it doesn\'t use the -F option, but still generates the exact same HTTP request? i.e. so that it passes th
-F
You can use the --form argument with an explicitly
--form
curl -H "Content-Type: multipart/related" \ --form "data=@example.jpg;type=image/jpeg" http://localhost:3000/test