Skip to content

Commit 050ef5d

Browse files
Update README.md
1 parent f96faf5 commit 050ef5d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ mode = rest ; Options: 'rest', 'socket', 'soap'
3939
log_file = log.txt ; Log file path (used if output = log)
4040
```
4141
42-
### 🌐 Modes Explained__
43-
πŸ”Ή REST Mode__
42+
## 🌐 Modes Explained
43+
### REST Mode
4444
A Flask server that echoes all HTTP requests.
4545
4646
```bash
4747
python ListeningApp.py
4848
```
4949
50-
Accepts GET, POST, PUT, DELETE, PATCH__
50+
Accepts GET, POST, PUT, DELETE, PATCH
5151
Captures method, headers, and body
5252
5353
Example using curl:
@@ -56,12 +56,11 @@ Example using curl:
5656
curl -X POST http://localhost:5000/test -d "hello=world"
5757
```
5858
59-
πŸ”Έ Socket Mode__
59+
### Socket Mode
6060
A TCP server that reads newline-terminated messages.
61+
Use any TCP client to send messages.
6162
62-
Use any TCP client to send messages ending in
63-
64-
Responds with Socket: "Message received"
63+
> Responds with Socket: "Message received"
6564
6665
Example using Python client:
6766
```bash
@@ -80,16 +79,17 @@ Headers: {'Content-Type': 'application/x-www-form-urlencoded', ...}
8079
Body: hello=world
8180
```
8281
83-
### πŸ“ Project Structure
82+
## πŸ“ Project Structure
8483
```bash
8584
.
8685
β”œβ”€β”€ ListeningApp.py # Main application
8786
β”œβ”€β”€ config.ini # Configuration file
8887
└── log.txt # Log file (created at runtime if needed)
8988
```
9089
91-
### πŸ“œ License
90+
## πŸ“œ License
9291
MIT License. See LICENSE file for details.
9392
94-
🀝 Contributing
95-
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
93+
## 🀝 Contributing
94+
Pull requests are welcome.
95+
For major changes, please open an issue first to discuss what you would like to change.

0 commit comments

Comments
Β (0)