Created
August 22, 2025 15:05
-
-
Save lesterlo/722a495df61a21d83d8e98ac7ca6fbc7 to your computer and use it in GitHub Desktop.
A simple script to test the http request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while true; do | |
| # Wait for a connection on port 8443 | |
| nc -l -p 65443 <<EOF | |
| HTTP/1.1 200 OK | |
| Content-Type: text/plain | |
| Content-Length: 13 | |
| Hello, world! | |
| EOF | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment