mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
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…
Add table
Add a link
Reference in a new issue