Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 CURL 将文件上传到 HTTPS 站点?
该网站也受密码保护。
用于为该特定站点上传的命令行是什么?
是的你可以,
$ curl --user login:password --upload-file your.file.txt https://the.url/where/that/should/go
--insecure如果您不希望 cURL 检查证书链,则可能需要添加。
--insecure