class
TandaCLI::API::Request
- TandaCLI::API::Request
- Reference
- Object
Defined in:
tanda_cli/api/request.crConstant Summary
-
GET =
"GET" -
INTERNAL_SERVER_ERROR_STRING =
"Internal Server Error" -
POST =
"POST"
Constructors
Instance Method Summary
- #get(type : T.class, endpoint : String, query : Query | Nil = nil) : Result(T) forall T
- #post(type : T.class, endpoint : String, body : Body) : Result(T) forall T