LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

HTo - HTTP POST with BASH

Posted 08-01-2008 at 01:22 PM by Marcelo_Vergara

#!/bin/bash

if [ -z $1 ] || [ -z "$2" ]; then
echo "Uso: $0 phone \"string\""
exit 1
fi

TEL=$1
MSG=$2

HOST="172.26.1.75"
URL="/pluggingForward/sendMessage.jsp"
PORT="80"

PROF="hehehehehe"
PWD="hahahaha"
ANUM="927"

TAM=`echo "<REQUEST PROF=\"war_sms_mt\">...
LQ Newbie
Posted in Uncategorized
Views 1789 Comments 0 Marcelo_Vergara is offline

  



All times are GMT -5. The time now is 04:05 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration