My Angular 7 project having an issue while performing HTTP POST request (FormData as request body and having file attachment field (multi-part file)) only in Edge Browser, In other browsers like Chrome, Mozilla, Safari & IE 11 it is working as expected.
My host is localhost with HTTP protocol and i am hitting a remote server which is having a url with HTTPS protocol
My Request Object:
this.httpClient.request(new HttpRequest('POST', url, formData, { responseType: 'text', reportProgress: true}))
Expected Output:
string (success or exception)
Error Facing:
http failure response for (url) 0 unknown error
HTTP status code 0