annotation Athena::Routing::Get

Overview

Defines a GET endpoint.

Fields

Example

@[ART::Get(path: "/users/:id")]
def get_user(id : Int32) : Nil
end

Defined in:

annotations.cr