         end
     end
 
-    defp request_get(path, multihash) do
-        case get(path <> multihash) do
+    defp request_get(path, arg) do
+        case get(path <> arg) do
             ## TODO: add more cases.
             %Tesla.Env{status: 200, headers: headers, body: body} -> %{:headers => headers, :body => body}
             %Tesla.Env{status: 500, headers: headers, body: body} -> %{:headers => headers, :body => body}

        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, diag,
    ## files, key, name, object, pin, p2p,
    ##  filestore, shutdown, repo, resolve, stats, tar, file)

    import IpfsConnection

