Browse Source

chore: update docs

pull/3/head
Aldino Kemal 4 years ago
parent
commit
0586386b78
  1. 18
      readme.md

18
readme.md

@ -21,15 +21,15 @@ You can fork or edit this source code !
Current API
| Feature | Menu | Method | URL | parameter | type |
|----------|----------------------|--------|----------------|-------------------------------------------------------------------------------------------------|-------------|
| ✅ | Login | GET | /app/login | | |
| ✅ | Logout | GET | /app/logout | | |
| ✅ | Reconnect | GET | /app/reconnect | | |
| ✅ | User Info | GET | /user/info | phone_number (string: 62...) | querystring |
| ✅ | User Avatar | GET | /user/avatar | phone_number (string: 62...) | querystring |
| ✅ | Send Message (Text) | POST | /send/message | phone_number (string: 62...) <br/> message (string) | form-data |
| ✅ | Send Message (Image) | POST | /send/image | phone_number (string: 62...) <br/> caption (string) <br/> image (binary) <br/> view_once (bool) | form-data |
| Feature | Menu | Method | URL | Payload |
|----------|----------------------|--------|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ✅ | Login | GET | /app/login | |
| ✅ | Logout | GET | /app/logout | |
| ✅ | Reconnect | GET | /app/reconnect | |
| ✅ | User Info | GET | /user/info | <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Type</th> <th>Example</th> </tr></thead> <tbody> <tr> <td>phone_number</td><td>string</td><td>querystring</td><td>6289685024099</td></tr></tbody></table> |
| ✅ | User Avatar | GET | /user/avatar | <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Type</th> <th>Example</th> </tr></thead> <tbody> <tr> <td>phone_number</td><td>string</td><td>querystring</td><td>6289685024099</td></tr></tbody></table> |
| ✅ | Send Message (Text) | POST | /send/message | <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Type</th> <th>Example</th> </tr></thead> <tbody> <tr> <td>phone_number</td><td>string</td><td>form-data</td><td>6289685024099</td></tr><tr> <td>message</td><td>string</td><td>form-data</td><td>Hello guys this is testing</td></tr></tbody></table> |
| ✅ | Send Message (Image) | POST | /send/image | <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Type</th> <th>Example</th> </tr></thead> <tbody> <tr> <td>phone_number</td><td>string</td><td>form-data</td><td>6289685024099</td></tr><tr> <td>caption</td><td>string</td><td>form-data</td><td>Hello guys this is caption</td></tr><tr> <td>view_once</td><td>bool</td><td>form-data</td><td>false</td></tr><tr> <td>image</td><td>binary</td><td>form-data</td><td></td></tr></tbody></table> |
```
✅ = Available

Loading…
Cancel
Save