From 4756e4a5f9b03dd39e8269b1d9b26372a8e7a832 Mon Sep 17 00:00:00 2001 From: Jason Etcovitch Date: Sun, 1 Sep 2019 23:32:21 -0400 Subject: [PATCH] Write a simple send-payload script --- bin/send-payload | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/send-payload diff --git a/bin/send-payload b/bin/send-payload new file mode 100755 index 0000000..da80796 --- /dev/null +++ b/bin/send-payload @@ -0,0 +1,6 @@ +#!/bin/bash + +curl -X POST \ + -d '{ "foo": true }'\ + -H "Content-Type: application/json" \ + http://localhost:3000/$1 \ No newline at end of file