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