Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@Header("x-token-test", "test")
@Header("x-token-test-2", "test2")
@Status(200)
@ContentType("application/xml")
@Deprecated()
testResponseHeader(@Request() request: Express.Request) {
return "";
}
@Post("/documents")
testMultipart(@MultipartFile("files") files: any[]) {
return files;
}
@Post("/documents/1")
@MulterFileSize(2048)
testMultipart2(@MultipartFile("file1") file: any) {
console.log("====>", file);
return "DONE";
}
}