Update json_api.cr
This commit is contained in:
parent
2bac42df6f
commit
c11707bcd2
1 changed files with 2 additions and 0 deletions
|
@ -7,3 +7,5 @@ get "/" do |env|
|
||||||
env.response.content_type = "application/json"
|
env.response.content_type = "application/json"
|
||||||
{name: "Serdar", age: 27}.to_json
|
{name: "Serdar", age: 27}.to_json
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Kemal.run
|
||||||
|
|
Loading…
Reference in a new issue