Created
March 16, 2022 20:53
-
-
Save eastmad/795ab155e8de6c8279abbacf0133d66e to your computer and use it in GitHub Desktop.
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
require 'sinatra' | |
get '/hi' do | |
"<h1>Hello World!</h1 >This is <i style='color:red'>Sinatra</i> doing it my way" | |
end | |
get '/bye' do | |
"<h1>Good Night!</h1>This is <i style='color:blue'>Sinatra</i> signing out at #{Time.now}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment