|
|
@ -20,7 +20,7 @@ namespace CoviDok.Controllers |
|
|
|
"secretsecretkey"); |
|
|
|
private readonly string BucketName = "test1"; |
|
|
|
|
|
|
|
[HttpPost] |
|
|
|
[HttpPost("Upload")] |
|
|
|
public async Task<GenericResponse> OnPostImage(ImagePost post) |
|
|
|
{ |
|
|
|
GenericResponse response = new GenericResponse(); |
|
|
@ -38,6 +38,7 @@ namespace CoviDok.Controllers |
|
|
|
return response; |
|
|
|
} |
|
|
|
|
|
|
|
[HttpPost("Download")] |
|
|
|
public async Task<IActionResult> OnGetImage(ImageGet imageGet) |
|
|
|
{ |
|
|
|
string[] attrs = imageGet.ImageID.Split(":"); |
|
|
|