Hello Gokul,
Google Groups is meant for general product discussions and not for technical support. It is recommended you open a Public Issue Tracker <https://cloud.google.com/support/docs/issue-trackers> report with more information such as your project-id, app.yaml/appengine-web.xml configuration file, information about the timestamps of when this issue occurred. On Friday, October 27, 2017 at 2:00:37 PM UTC-4, Gokul Muthuswamy wrote: > > I have simple golang REST api app on GAE. I'm using a gorilla mux router > and enabled CORS as below: > httpServer = &http.Server{ > Addr: ":8080", > Handler: handlers.CORS( > handlers.AllowedOrigins([]string{"*"}), > handlers.AllowedHeaders([]string{"Authorization", > "Access-Control-Allow-Headers"}), > handlers.AllowedMethods([]string{"GET", "HEAD", "POST", "PUT", "DELETE", > "OPTIONS"}))(router), > ReadTimeout: timeout, > WriteTimeout: timeout, > MaxHeaderBytes: 1 << 20, > } > } > > Checked it on local deploys and its works well. However on GAE it still > returns a CORS error as below: > No access control origin header is present. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a320ef3d-2421-4440-8d00-2344d549614e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
