- (halt status [body] [headers])procedure
Immediately stop request processing and send an HTTP response.
(halt 'not-found "Page not found") (halt 'bad-request "{\"error\": \"Invalid input\"}" '((content-type application/json)))
Immediately stop request processing and send an HTTP response.
(halt 'not-found "Page not found") (halt 'bad-request "{\"error\": \"Invalid input\"}" '((content-type application/json)))