Skip to content

Instantly share code, notes, and snippets.

@MinCha
Created June 30, 2014 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MinCha/64e59b12dca323cd0f19 to your computer and use it in GitHub Desktop.
Save MinCha/64e59b12dca323cd0f19 to your computer and use it in GitHub Desktop.
URLEncoded CURL
#!/bin/sh
if [ ! -f ./success ]; then
curl -g http://send --data-urlencode group=$1 --data-urlencode "msg=Failed $2 $3"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment