@@ -39,15 +39,15 @@ mode = rest ; Options: 'rest', 'socket', 'soap'
3939log_file = log.txt ; Log file path (used if output = log)
4040` ` `
4141
42- # ## π Modes Explained__
43- πΉ REST Mode__
42+ # # π Modes Explained
43+ # ## REST Mode
4444A Flask server that echoes all HTTP requests.
4545
4646` ` ` bash
4747python ListeningApp.py
4848` ` `
4949
50- Accepts GET, POST, PUT, DELETE, PATCH__
50+ Accepts GET, POST, PUT, DELETE, PATCH
5151Captures method, headers, and body
5252
5353Example using curl:
@@ -56,12 +56,11 @@ Example using curl:
5656curl -X POST http://localhost:5000/test -d " hello=world"
5757` ` `
5858
59- πΈ Socket Mode__
59+ # ## Socket Mode
6060A 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
6665Example using Python client:
6766` ` ` bash
@@ -80,16 +79,17 @@ Headers: {'Content-Type': 'application/x-www-form-urlencoded', ...}
8079Body: 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
9291MIT 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