Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Send a String to another URL

by virtualweb (Sexton)
on May 12, 2011 at 08:26 UTC ( #904316=note: print w/ replies, xml ) Need Help??

in reply to Re: Send a String to another URL
in thread Send a String to another URL

Thank you for you prompt response .

My script is processing a purchase order from a shopping cart. I want to give the seller a sales notification via SMS, so I signed up with one of those Bulk API services.

They gave me a URL where to send the parameters for a text message as follows:

http://SERVERIP/httppush/http.aspx?text=TEXTMESSAGE&source=SOURCENUMBER&desti nation=DESTINATIONNUMBER&username=USERNAME&password=PASSWORD&datacodi ng=1

I need to replace all the Capitalized words with the pertinent information: The sender's number, the recipient's number, etc.

If I cannot place the "Location" bit below the extra line caused by "\n\n" , is there a system call that can be used in this case..?? someone suggested: system("wget") but I dont have the complete construct of this line.

Comment on Re^2: Send a String to another URL
Replies are listed 'Best First'.
Re^3: Send a String to another URL
by thewebsi (Scribe) on May 12, 2011 at 13:57 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://904316]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-12-01 08:55 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (797 votes), past polls