I am working with Angular products services that make calls to the "http://jsonplaceholder.typicode.com/posts" URL using the HttpClient method.
However, I am encountering the error message "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:5700' is therefore not allowed access. The response had HTTP status code 403."
Based on my understanding of the error, it seems like I need to set headers, but since it's a public GET API, I believe I shouldn't need to set headers for this.
Any help or insights would be greatly appreciated. Thank you.