This current source code will listen on Port 8888, and once it's running, you can access the HTTP service with a curl command like this:
If you are interested in seeing a small ZIO HTTP server application, and also how to see it work with Scala-CLI, I hope this example is helpful.
Collection
[
|
...
]