Skip to content

Commit

Permalink
Write a simple send-payload script
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco committed Sep 2, 2019
1 parent 02a27b2 commit 4756e4a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/send-payload
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

curl -X POST \
-d '{ "foo": true }'\
-H "Content-Type: application/json" \
http://localhost:3000/$1

0 comments on commit 4756e4a

Please sign in to comment.