A multihash isnt returned from that call because one isnt generated immediately on that write. You can call ipfs files stat on the path afterwards to get the hash, or use ipfs add <file> to get the hash, then ipfs files cp <hash> <files api path> to put it into place.
matthewrobertbell commentedApr 27, 2016
In my opinion, it'd be very useful for the file creation API call to return the multihash of the file that's been created. Why is this not the case?
Cheers
The text was updated successfully, but these errors were encountered: