/echopathws

Golang standard lib web server echoing the requested path value

Primary LanguageGoMIT LicenseMIT

Echo path web server

A simple localhost golang standard web server at the requested port or with a fallback 8770 port responding with the requested path.

Launch:

λ go run echopathws.go 8770

Starting localhost:8770...

Set HTTP handler @ localhost:8770...

Example:

Http Get Request:

http://localhost:8770/simple web request/

Html Response:

"simple web request/"