Google Calendar API Batch Request from localhost has been blocked

I am getting, “from origin ‘http://localhost’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.” error while testing Google Calendar API V3 by submitting the batch request from localhost. I was able to test batch submit a couple of months back but now I get this error?

Any thoughts or inputs ?

Thanks
Ravi

Tried sending batch request to google calendar api 3 from localhost?
Expecting solution to test batch request from localhost to google calendar api 3