IPFS> (add "README.txt")
NIL
"file argument 'path' is required
"
I've been fighting with this for a few hours now.
The documentation is bad/incorrect/misleading - the argument is not 'path', etc. There are a bunch of things on the Internet that are confusing. Like ipfs/kubo#5984. Several places imply that "file=@foo" is not enough and the body needs to contain another path argument or mime data... I am pretty confused now.
I tried sending a bare DRAKMA request with a handmade url and parameters, and it fails the same way. The command line works. I will try tracking down CURL examples next...
The text was updated successfully, but these errors were encountered:
It actually works, but requires a real PATH, as in #p"common-lisp/cl-ipfs-api2/README.txt", as your example shows... I got sloppy!
While this is entirely my own fault, could you make a notation in your README for fools like me to use #p paths - to avoid them wasting a day tracking down a non-issue...
stacksmith commentedDec 24, 2020
I've been fighting with this for a few hours now.
The documentation is bad/incorrect/misleading - the argument is not 'path', etc. There are a bunch of things on the Internet that are confusing. Like ipfs/kubo#5984. Several places imply that "file=@foo" is not enough and the body needs to contain another path argument or mime data... I am pretty confused now.
I tried sending a bare DRAKMA request with a handmade url and parameters, and it fails the same way. The command line works. I will try tracking down CURL examples next...
The text was updated successfully, but these errors were encountered: