I try to read json file data from s3 bucket with public access for parse data and display in a html table.
http.get<Post>('https://jsonfile/file.json').subscribe (res => {
console.log(res);
});
I have this error:
ERROR
HttpErrorResponse {headers: {…}, status: 0, statusText: "Unknown Error", url: null…}
This is my stackblitz: https://stackblitz.com/edit/angular-kwn1zg