Trying to implement a few IPFS API calls, specifically this one: 
<https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-add>

Basically I need to implement the "nocopy" option of the above linked API call, 
which in curl looks like this: curl 
'<http://127.0.0.1:5001/api/v0/add?nocopy=true>' -F 
'file=@SOMEFILE;headers="Abspath: /home/magik6k/full/path/to/SOMEFILE"' (from 
<https://github.com/ipfs/kubo/issues/4558#issuecomment-462570466>)

I have tried various things, wasted half a day on this, and still no success. I 
am not good with http and its workings. Please provide httpclient code for the 
equivalent curl command. No, I can't use libcurl because it can't be used 
asynchronously in nim, afaik.

thank you

Reply via email to