Everything works as expected, when I hand over an instance of ipfs-core. The error only appears when attempting the exact same thing with an instance of ipfs-http-client. POST requests are allowed on my node and CORS is also not the problem. This might also be an issue with ipfs-http-client though. Maybe someone here could give me some directions.
Im trying to use did-ipid with an instance of ipfs-http-client, but get the following error:
Uncaught (in promise) HTTPError: file argument 'key' is required
My code looks like this (similar to the example on the README.md):
Everything works as expected, when I hand over an instance of ipfs-core. The error only appears when attempting the exact same thing with an instance of ipfs-http-client. POST requests are allowed on my node and CORS is also not the problem. This might also be an issue with ipfs-http-client though. Maybe someone here could give me some directions.
ipfs-core@0.8.0 ipfs-http-client@50.1.2 did-ipid@0.4.1 go-ipfs v0.8.0
Thanks in advance!