💰 Orgulho Libertário Aqui 💰
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
381 B

# A very basic HTTP server
require "http/server"
server = HTTP::Server.new do |context|
context.response.content_type = "text/plain"
# Hello World Song by Loui
context.response.print "Hello world, Programmed to work and not to feel Not even sure that this is real, Hello, world got #{context.request.path}!"
end
puts "Listening on http://127.0.0.1:8080"
server.listen(8080)