I am trying to export a key from my local ipfs node to a specified path on my machine.
I am able to use
key/rm without issue. I am also able to use the command line key export, but I would prefer to use the HTTP API for my use case.
However, running the following returns a 404 error.
curl -X POST "http://127.0.0.1:5001/api/v0/key/export?arg=mykey" 404 page not found
What should be done to resolve this issue? I would like to use the output argument, but the error shows up even without optional arguments.
My node is running
ipfs version 0.11.0.