1 2 3 4 5 6 7 8 9 10
#!/bin/sh if [ -z "$1" ]; then echo "Usage: $0 <json-file>" exit 1 fi curl -XPOST 'http://localhost:4000/public/simple' -d @$1 exit 0