Guest User

Untitled

a guest
Jan 3rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. Value4Variable=Value4
  4.  
  5. curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -d
  6. '{"Variable1":"Value1",
  7. "Variable2":"Value2's", # escape of quote doesnt work because of the previous single quote and backslash
  8. "Variable3":"Value3",
  9. "Variable4":"'"$Value4Variable"'",
  10. "Variable5":"Value5"
  11. }'
  12. https://www.hashemian.com/tools/form-post-tester.php
Add Comment
Please, Sign In to add comment