【发布时间】:2021-12-24 20:08:53
【问题描述】:
我在https://i.postimg.cc/GpDskmSG/sdssds.png 之类的 URL 中有一张图片,我想将其发送到 nft.storage 中。我可以直接将其作为 URL 而不是路径中的文件发送吗?我尝试了以下方法,但它只存储图像 URL。
curl -H "Authorization: Bearer eyJhbGciOiJIwetertyrtyUzI1NiIsInR5cCI6Ikp" -H "Content-Type: image/png" --data "https://i.postimg.cc/GpDskmSG/sdssds.png" --url "https://api.nft.storage/upload"
P/S:我正在 windows curl 上进行测试。
【问题讨论】:
标签: http curl https http-headers ipfs