Skip to content

Commit ccdcc41

Browse files
committed
update README
Signed-off-by: ふぁ <[email protected]>
1 parent d271ad1 commit ccdcc41

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ or
2121
python -m return-line-notify.main
2222
```
2323

24+
## Send Request
25+
26+
![1744545368191](image/README/1744545368191.png)!
27+
28+
```python
29+
import requests
30+
API_URI = "http://127.0.0.1:8000/api/notify"
31+
headers = {"Authorization": "Bearer 336355274:10"}
32+
data = {"message": "test"}
33+
requests.post(API_URI, headers=headers, data=data)
34+
```
35+
2436
## Credits
2537

2638
This project is inspired by and references the following open-source project:

image/README/1744545368191.png

6.51 KB
Loading

0 commit comments

Comments
 (0)