Created
July 24, 2019 08:28
-
-
Save laszlomiklosik/825711ccadca4035dce83c08c81a6f1b to your computer and use it in GitHub Desktop.
curl request with inline multiline JSON payload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X PATCH http://localhost:8080/Users/7234e4cd-eb7f-4a96-953e-3bd11439efcf -H 'Content-Type: application/json' -d @- <<BODY | |
{ | |
"emails": [ | |
"[email protected]", | |
"[email protected]" | |
] | |
} | |
BODY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment