无法在jasmin sms网关中发送短信,找不到强制参数[to]

问题描述 投票:0回答:1

我正在使用Jasmin SMS网关,我按照文档。创建用户,组,mtrouter和成功绑定到我的提供程序。但是当我尝试发送短信http://127.0.0.1:6600/send?username=ojgr12hnds&password=123ggfds&to=62852740&content=hello

jasmin响应错误“找不到强制参数[to]。”

python python-2.7 sms-gateway jasmin-sms
1个回答
0
投票

如果您使用Restful API,那么您需要适当的JSON结构。如果使用curl进行http api try测试:

curl http://127.0.0.1:6600/send? -d 'username=ojgr12hnds&password=123ggfds&to=62852740&content=hello'
© www.soinside.com 2019 - 2024. All rights reserved.