I am trying to use the HTTP API to add a folder to the IPFS server. The folder’s name is
I tried the following cURL request:
curl -X POST -H "Content-Type:application/x-directory" -F "file=@source" "http://127.0.0.1:5001/api/v0/add"
But, I get
file argument 'path' is required. So How can I use HTTP API to add a folder to my IPFS server?