The path for the DELETE method.
The following code initializes a DELETE path on the server.
@DELETE("/example")
async deleteExample(request: HttpRequest): Promise<HttpResponse> {
return {
content: "...",
contentType: "text/plain",
status: 200,
contentEncoding: "binary" // supports "base64"
}
}
Generated using TypeDoc
Decorator that registers a DELETE method on the HTTP server.