Skip to content
Matthias Treydte edited this page Apr 30, 2014 · 3 revisions

Insert Data

Mutlipart / Form Data

Send a HTTP Post request to api/insert/file, for example using curl:

curl -F 'file=@test.txt;type=text/plain' http://localhost:8082/api/insert/file

Fetching Data

Fetching Raw CHK/SSK blocks

curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"location":"TpDt4IygN7RgsdwhRTqySGk5KL65kQK0VCKJchlN8rw","algorithm":3}' \
  http://localhost:8082/api/fetch/chk

Clone this wiki locally