1 #!/bin/sh 2 3 read -p 'Email address: ' username 4 read -s -p 'Password: ' password 5 6 tmsg=" 7 { 8 \"Type\": 1, 9 \"Username\": \"$username\", 10 \"Password\": \"$password\" 11 } 12 " 13 14 curl -H 'Content-Type: application/json' -d "$tmsg" http://mx1.mailmux.net/register