#!/bin/sh echo import sample.json socat file:../../dat/sample.json,rdonly unix-client:/run/sfive/pipe echo show query result wget -q -S -O - 'http://localhost:8000/updates?from=2013-10-24T05:00:00Z&to=2013-10-24T00:05:20Z' echo '\npost update' wget --post-file='../../dat/sample-post.json' 'http://localhost:8000/updates' echo '\ndone'