FrontlineSMS

FrontlineSMS let users send, receive and manage SMS over a mobile network.

Hello!

I would like to ask, I'm using Execution command instead of auto-reply. So, my question is if I have an http request:
http://localhost/samp_folder/dummy_folder/${sender_number}${keyword}${message_content}

I would like to test it out on the browser, meaning I also supply sender number, keyword and message content. Is it possible?

http://localhost/samp_folder/dummy_folder/ 09021212121 PRICE_KEY "Hello Guys"

or is my directory format incorrect???

Sincerely,

Chabx

Views: 91

Reply to This

Replies to This Discussion

Hello Again,

I've been testing out this HTTP request.

http://localhost/test/${sender_number}


In the test, folder, I have a process.php, is it possible that the process.php file could attend to this request? If yes, then can I have a sample code, which it receives the http request. 

Hi,

Try http://localhost/test/process.php?sender_number=${sender_number}
.  You should then be able to access sender number in your script with

<? echo($_GET['sender_number']); ?>

Alex

Hello,

Thanks Alex, it sure helped. That's the only problem I've been facing in FrontlineSMS for now. Thanks for your help.

Chabx

RSS

© 2014   Created by FrontlineSMS Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service