Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'bennet'
- Bennet.get "/blog" do
- "This is a blog"
- end
- Bennet.get "/hi" do
- "Hello there"
- end
- Bennet.get "/hi/html" do
- "<html><head><title>Hi</title></head><body><p style=\"color:red\">This is an HTML Hi</p></body></html>"
- end
- run Bennet
Add Comment
Please, Sign In to add comment