Support forum
I am sorry, I missed your reference to the 'Test' button in the HTTP callback options of the console program. The test button does not send any query parameters when it makes the test. It is only intended to test the HTTP callback settings and not to test the script.
As you have already found out, you need to send/receive actual messages to test the HTTP callback script.
Regards, Henk
8:09 am
Hi Henk,
No luck with the value, but then it's working with the actual request, the only issue is when I am testing it using the Diafaan SMS server console. its throwing error, anyways I will look in the code to check again and will get back.
Thanks for the help.
Regards
Divya
Thank you for the script. Unfortunately I am not familiar with Laravel and I don't really understand what your script is trying to do. But don't you get the value of the action parameter of the HTTP callback with the following line?
$action= $request->input('action');
Regards, Henk
Can you send me the script that you use to process the callbacks, at least the part that gets the query parameters from the HTTP call? You can send the script to dms@diafaan.com.
Regards, Henk
12:40 pm
Hi Henk,
Thanks for your response, but even in the request, "action" is null.
Regards
Divya
Hello Divya,
By default, the HTTP callback query returns the parameters with an HTTP POST action in the body of the call.
If you want to receive the parameters in the URI you can set the HTTP method to 'GET' in the HTTP callback options ('Actions-Options-HTTP callback').
Regards, Henk
10:05 am
Hi Henk,
I am trying to test the callbacks from the Diafaan SMS Server Console, and when I am checking the response, it is only returning the Callback URL with null params for any of the actions, I tested for "Message Log".
Let me know if I am doing it wrong way.
Regards
Divya
Most Users Ever Online: 529
Currently Online:
14 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488