在jasmin sms网关中发送sms失败,找不到强制参数[to]

2024-09-29 17:09:57 发布

您现在位置:Python中文网/ 问答频道 /正文

我是Jasmin短信网关的工作人员,im遵循文档。创建用户、组、mtrouter并成功绑定到我的提供商。但是当我试着发短信的时候 http://127.0.0.1:6600/send?username=ojgr12hnds&password=123ggfds&to=62852740&content=hello

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


Tags: to用户文档sendhttp网关usernamepassword
1条回答
网友
1楼 · 发布于 2024-09-29 17:09:57

如果您使用的是restfulapi,那么您需要合适的JSON结构。如果是http api,请尝试使用curl进行测试:

curl http://127.0.0.1:6600/send? -d 'username=ojgr12hnds&password=123ggfds&to=62852740&content=hello'

相关问题 更多 >

    热门问题