-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7e5935
commit 62b1a9e
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
# ultra-dumb-200-server | ||
It is a server that starts up and responds with HTTP 200 on the port you designate. It does nothing else. It will never do anything else. | ||
It is a server that starts up and responds with HTTP 200 on the port and (optionally) path you designate. It does nothing else. It will never do anything else. | ||
|
||
|
||
# Usage | ||
```bash | ||
export PORT=8080 # must be valid number and in port range | ||
export URL_PATH=/hello # must start with /, defaults to / if unset | ||
`./<binary>` | ||
``` |