我从SMS网关获得了以下信息,我想在fedena SMS设置中使用该代码,但是我没有响应。
下面是我从SMS网关获得的代码。
http://sms.smsgateway.net/api/api_http.php?
username=abcd&password=@abcd&sender=My Name
&to=923131234567&text=Hello%20world
&type=text
我按如下所示更改了sms_settings.yml,但没有收到任何响应,并且短信未发送。
sms_settings:
username: abcd
password: @abcd
sendername: sender
host_url: http://sms.smsgateway.net/api/api_http.php
success_code: "OK"
parameter_mappings:
username: username
password: password
sendername: My Name
message: text
phone: to
# Additional parameters to be added should given in the format "param1=value1¶m2=value2&..."
additional_parameters: "type=text"
请帮助我。