【文件属性】:
文件名称:sms-gammu-gateway:简单的SMS REST API网关,用于从gammu支持的设备发送SMS
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-09 18:58:21
Python
使用gammu的REST API SMS网关
简单的SMS REST API网关,用于从gammu支持的设备发送和接收SMS。 Gammu支持标准的AT命令,该命令使用大多数USB GSM调制解调器。
可用的REST API端点:
发送短信 :locked:
POST http://xxx.xxx.xxx.xxx:5000/sms
Content-Type: application/json
Authorization: Basic admin password
{
"text": "Hello, how are you?",
"number": "+420xxxxxxxxx"
}
例子:
AUTH= $( echo -ne " admin:password " | base64 --wrap 0 )
curl -H ' Content-Type: application/json ' -H
【文件预览】:
sms-gammu-gateway-master
----support.py(2KB)
----.github()
--------workflows()
----gammu.config(164B)
----Dockerfile(790B)
----LICENSE(11KB)
----run.py(4KB)
----requirements.txt(57B)
----.dockerignore(42B)
----README.md(7KB)
----credentials.txt(16B)