diff options
author | Lewis Marshall <lewis@lmars.net> | 2017-04-07 06:22:22 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-04-07 06:22:22 +0800 |
commit | 71fdaa42386173da7bfa13f1728c394aeeb4eb01 (patch) | |
tree | 364a169f650982d3b2880c95e40e2c91cb27c86e /swarm/api/storage_test.go | |
parent | 9aca9e6deb243b87cc75325be593a3b0c2f0a113 (diff) | |
download | dexon-71fdaa42386173da7bfa13f1728c394aeeb4eb01.tar dexon-71fdaa42386173da7bfa13f1728c394aeeb4eb01.tar.gz dexon-71fdaa42386173da7bfa13f1728c394aeeb4eb01.tar.bz2 dexon-71fdaa42386173da7bfa13f1728c394aeeb4eb01.tar.lz dexon-71fdaa42386173da7bfa13f1728c394aeeb4eb01.tar.xz dexon-71fdaa42386173da7bfa13f1728c394aeeb4eb01.tar.zst dexon-71fdaa42386173da7bfa13f1728c394aeeb4eb01.zip |
swarm/api: refactor and improve HTTP API (#3773)
This PR deprecates the file related RPC calls in favour of an improved HTTP API.
The main aim is to expose a simple to use API which can be consumed by thin
clients (e.g. curl and HTML forms) without the need for complex logic (e.g.
manipulating prefix trie manifests).
Diffstat (limited to 'swarm/api/storage_test.go')
-rw-r--r-- | swarm/api/storage_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/api/storage_test.go b/swarm/api/storage_test.go index 72caf52df..d260dd61d 100644 --- a/swarm/api/storage_test.go +++ b/swarm/api/storage_test.go @@ -36,7 +36,7 @@ func TestStoragePutGet(t *testing.T) { t.Fatalf("unexpected error: %v", err) } // to check put against the Api#Get - resp0 := testGet(t, api.api, bzzhash) + resp0 := testGet(t, api.api, bzzhash, "") checkResponse(t, resp0, exp) // check storage#Get |