Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 452 Bytes

readme.md

File metadata and controls

9 lines (7 loc) · 452 Bytes

Http proxy for upload files/data to IPFS node

Upload file with curl

curl -i -X POST -H "Content-Type: multipart/form-data" -F 'file=@samples/cat.png' http://localhost:9000/upload/file
curl -i -X POST -H "Content-Type: multipart/form-data" -F 'file=@samples/random-gif.gif' http://localhost:9000/upload/file
curl -i -X POST -H "Content-Type: multipart/form-data" -F 'file=@samples/random-video.mp4' http://localhost:9000/upload/file