add
/api/v0/add
curl "https://ipfs.krypc.io:5001/api/v0/add?recursive=false&quiet=<value>&quieter=<value>&silent=<value>&progress=<value>&trickle=<value>&only-hash=<value>&wrap-with-directory=<value>&hidden=<value>&chunker=<value>&pin=true&raw-leaves=<value>&nocopy=<value>&fscache=<value>&cid-version=0&hash=sha2-256" \
-X POST \
-u "<API_KEY>:<API_KEY_SECRET>" \
-H "Content-Type: multipart/form-data" \
-F file=@"<file>"RESPONSE
Last updated
Was this helpful?