阅读背景:

如何使用cURL将文件内容作为POST参数发送?

来源:互联网 

I'm trying to use cURL to POST the contents of a file, as if I'd pasted that contents in to an html textarea. That's to say I don't want to upload the file, I just want a post parameter called foo to be filled with text from a file called bar.txt. bar.txt's contents may include newlines, quotes, and so on.I'm trying to use cURL to POST the contents of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: