Skip to content

Commit 4756e4a

Browse files
committed
Write a simple send-payload script
1 parent 02a27b2 commit 4756e4a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/send-payload

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
curl -X POST \
4+
-d '{ "foo": true }'\
5+
-H "Content-Type: application/json" \
6+
http://localhost:3000/$1

0 commit comments

Comments
 (0)