Thanks for your help.
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.
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.
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?
I have sent the same.
Thanks for your response, but even in the request, "action" is null.
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').
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.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 572
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1179