Update json_api.cr

This commit is contained in:
Serdar Dogruyol 2016-03-19 15:38:43 +02:00
parent 2bac42df6f
commit c11707bcd2
1 changed files with 2 additions and 0 deletions

View File

@ -7,3 +7,5 @@ get "/" do |env|
env.response.content_type = "application/json"
{name: "Serdar", age: 27}.to_json
end
Kemal.run