File upload using angular 18 and .net 8
I am trying to upload a file from angular app to c# Web API(essentially to aws s3 bucket through service) with no success, I could use postman to upload files to API which seems to see the filenames in the controller but with Angualar app I always get no files count.
In the network tab and in console I can see form data is posted in request but I dont see anything coming in Controller.
Q) does the file has to be encoded with base 64 and send to API and write the content back into s3?
or can use form-data to post the file to API and save in s3?