diff --git a/CoviDok/Controllers/ImagesController.cs b/CoviDok/Controllers/ImagesController.cs index 9dfb957..e6ab438 100644 --- a/CoviDok/Controllers/ImagesController.cs +++ b/CoviDok/Controllers/ImagesController.cs @@ -20,7 +20,7 @@ namespace CoviDok.Controllers "secretsecretkey"); private readonly string BucketName = "test1"; - [HttpPost] + [HttpPost("Upload")] public async Task OnPostImage(ImagePost post) { GenericResponse response = new GenericResponse(); @@ -38,6 +38,7 @@ namespace CoviDok.Controllers return response; } + [HttpPost("Download")] public async Task OnGetImage(ImageGet imageGet) { string[] attrs = imageGet.ImageID.Split(":");