Skip to content

Commit 7395acd

Browse files
committed
[docs] add data message feature to README
1 parent fc94e0e commit 7395acd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ SMS Gateway turns your Android smartphone into an SMS gateway. It's a lightweigh
100100

101101
- 💳 **Multiple SIM card support:** Supports devices with [multiple SIM cards](https://docs.sms-gate.app/features/multi-sim/).
102102
- 📱📱 **Multiple device support:** Connect [multiple devices](https://docs.sms-gate.app/features/multi-device/) to the same account with Cloud or Private server. Messages sent via the server are distributed across all connected devices.
103+
- 📲 **Data SMS support:** Send and receive data SMS messages for app to app communication.
103104

104105
🔌 Integration:
105106

@@ -182,7 +183,7 @@ This mode is ideal for sending messages from a local network.
182183
```sh
183184
curl -X POST -u <username>:<password> \
184185
-H "Content-Type: application/json" \
185-
-d '{ "message": "Hello, doctors!", "phoneNumbers": ["+19162255887", "+19162255888"] }' \
186+
-d '{ "textMessage": { "text": "Hello, doctors!" }, "phoneNumbers": ["+19162255887", "+19162255888"] }' \
186187
http://<device_local_ip>:8080/message
187188
```
188189

@@ -210,7 +211,7 @@ Use the cloud server mode when dealing with dynamic or shared device IP addresse
210211
```sh
211212
curl -X POST -u <username>:<password> \
212213
-H "Content-Type: application/json" \
213-
-d '{ "message": "Hello, doctors!", "phoneNumbers": ["+19162255887", "+19162255888"] }' \
214+
-d '{ "textMessage": { "text": "Hello, doctors!" }, "phoneNumbers": ["+19162255887", "+19162255888"] }' \
214215
https://api.sms-gate.app/3rdparty/v1/message
215216
```
216217

0 commit comments

Comments
 (0)