0

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

茉莉花响应是错误“未找到强制参数 [to]。”

4

1 回答 1

0

如果您使用的是 Restful API,那么您需要正确的 JSON 结构。如果是 http api,请尝试使用 curl 进行测试:

curl http://127.0.0.1:6600/send? -d 'username=ojgr12hnds&password=123ggfds&to=62852740&content=hello'
于 2018-11-14T06:56:34.223 回答