Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5001/suffer-99f67/us-central1/api/users. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing angular code example
Example: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://vtl-lab.com/VN/crecc-cms/api/member/register.json. (Reason: CORS request did not succeed).
Add below code when request API
header("Access-Control-Allow-Origin: *");