Closed devsdocs closed 2 years ago
My idea is Userge able to "curl POST" to Infura.io (IPFS FREE pinning service) API.
FREE
The idea is execute curl command from file that already downloaded to Userge download directory.
curl
curl -X POST -F file=@'userge/file/dir' "https://ipfs.infura.io:5001/api/v0/add?pin=true"
And then return the IPFS file hash in "Qm...somerandomchar" and the file name if possible
Current infura.io limit is 100MB, but still it is free pinning service.
Some docs to refer: https://infura.io/docs/ipfs#operation/add
Would be thankful if this method can be applied. Thank you
My idea is Userge able to "curl POST" to Infura.io (IPFS
FREE
pinning service) API.The idea is execute
curl
command from file that already downloaded to Userge download directory.curl -X POST -F file=@'userge/file/dir' "https://ipfs.infura.io:5001/api/v0/add?pin=true"
And then return the IPFS file hash in "Qm...somerandomchar" and the file name if possible
Current infura.io limit is 100MB, but still it is free pinning service.
Some docs to refer: https://infura.io/docs/ipfs#operation/add
Would be thankful if this method can be applied. Thank you