LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Marcelo_Vergara
User Name
Password

Notices


Uncategorized Entries with no category
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 3200 Comments 0 Marcelo_Vergara is offline

  



All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
Advertisement
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
Open Source Consulting | Domain Registration