How many urls can be executed at a time as a response in command t...

How many urls can be executed at a time as a response in command t... SearchSearch
Author Message
Imraj sk
New member
Username: Imraj

Post Number: 8
Registered: 12-2008
Posted on Saturday, December 20, 2008 - 03:18 am:   

Hi.. can any one help me in this..i want to execute multiple urls and send the response of those urls to the sender of sms . how can i do this..for example in the command to execute filed if i add these two urls
httP://localhost:8080/sms-test1.jsp
httP://localhost:8080/sms-testing.jsp

i want to execute these two when some one send sms and i want to give response of these two urls to the sender .. plz help me urgently its very required..Thanks in advance..

Imraj
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 352
Registered: 08-2008
Posted on Monday, December 22, 2008 - 02:29 pm:   

Hi Imraj,

Only one 2-way command can be executed per message.

The only ways to execute multiple URLs would be:

1.) If the first URL does not include any text in its response, it can return an HTTP redirect URL that tells NowSMS to connect to a different URL.

We talk about this technique here: http://www.nowsms.com/support/bulletins/tb-nowsms-003.htm

In that example, the redirect URL is a URL command for NowSMS to send a message. However, the redirect URL could be any other URL that you want NowSMS to process next.

2.) Your first URL could perform its own HTTP request to connect to any other URLs that you want to process. (Or if the script is on the same web server, you may be able to execute the script directly without using HTTP.)


--
Des
NowSMS Support