Use CURL command post form
curl \
-F "userid=1" \
-F "filecomment=This is an image file" \
-F "image=@/home/user1/Desktop/test.jpg" \
localhost/uploader.php
Use CURL command post form
curl \
-F "userid=1" \
-F "filecomment=This is an image file" \
-F "image=@/home/user1/Desktop/test.jpg" \
localhost/uploader.php
本文标题:Post form with CURL
本文链接:https://www.haomeiwen.com/subject/wfdwuttx.html
网友评论