IPFS add returns 2 jsons -


the add command returns 2 jsons - not yet sure if bug or feature not aware of:

⋊> ~ curl -f "image=@/home/ligi/bar" 127.0.0.1:5001/api/v0/add          00:53:12 {"name":"bar"} {"name":"bar","hash":"qmbfmke1kxqnyybbwxb74n4c5sbnjmvaimnrcgu6x1awqh"} 

unfortunately breaks ipfs-java-api

a recent commit changed way progress flag handled in add, you'll have explicitly disable progress when making api calls add.

i did in go-ipfs-api recently: https://github.com/ipfs/go-ipfs-api/commit/7c354892da3abdaafb6ac576c100b259b1a73dac


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo