         end)
     end
 
+
     defp request_post(path, data) do
         case post(path, data) do
             %Tesla.Env{status: 200, headers: headers, body: body} -> %{:headers => headers, :body => body}

defmodule IpfsElixir.Api do

    ## TODO: add (block, bootstrap, config, dag, dht, diag,
    ## files, key, name, object, pin, p2p,
    ## bitswap, filestore, shutdown, repo, resolve, stats, tar, file)

    import IpfsConnection


        request_get("/ls?arg=", multihash)
    end

    def commands do
        res = request_get("/commands")
        res.body
    end

    ##Currently throws an error due to the size of JSON response.
    def repo_verify do
        request_get("/repo/verify")
