#!/bin/sh

if [ $# != 3 ]; then
  echo "usage $0 <port> <specfile> <host>"
  exit 1
fi

http_post http://$3:$1/config submit=Submit "spec=`cat $2`"
echo
