Skip to content

Commit 51f2db5

Browse files
committedMar 31, 2023
Modify script to send a Post request
1 parent 0ca30f0 commit 51f2db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
# This script sends a POST request to the passed URL, and displays the body of the response
3-
curl -sX POST "$1" -d "email: test@gmail.com" -d "subject: I will always be here for PLD"
3+
curl -sX POST "$1" -d "email=test@gmail.com&subject=I will always be here for PLD"

0 commit comments

Comments
 (0)