1.curl 上传文件
<form method="post" enctype="multipart/form-data" action="/s3c/samples/upload_add">
<input type="file" id="File" name="data[File]"> <input type="submit" value="submit" name="uploads">
</form>
#有效路径
curl -F data[File][email protected] -F uploads=submit http://192.168.1.219/s3c/samples/upload_add
2.curl url
获得url的内容
linux curl post file
猜你喜欢
转载自zhb1208.iteye.com/blog/745309
今日推荐
周排行