Problem with endpoints in web with Genie

using Genie, Genie.Router, Genie.Renderer.Html, Genie.Requests, Genie.Renderer.Json
using HTTP

form = “”"

"""

HTTP.request(“POST”, “http://localhost:8000/jsonpayload”, [(“Content-Type”, “application/json”)], “”“{“name”:“Adrian”}”“”)

route(“/”) do
html(form)
end

route(“/jsonpayload”, method = POST) do
@show jsonpayload()
@show rawpayload()

json(“Hello $(jsonpayload()[“name”])”)
end

route(“/error500”) do
error_500(“Something went wrong”)
end

route(“/error404”) do
error_404(“the page you want”)
end

startup()

noone feom that does not view in browser…