App Engine Cloud Endpoints enable CORS

1,133 views
Skip to first unread message

Brandon Donnelson

unread,
Jul 29, 2012, 10:04:07 PM7/29/12
to google-a...@googlegroups.com
Is there a way to tweak the response headers to enable CORS by adding to response: "Access-Control-Allow-Origin: *"?

Brandon

Brandon Donnelson

unread,
Jul 29, 2012, 10:09:07 PM7/29/12
to google-a...@googlegroups.com

Mikael Magnusson

unread,
Aug 5, 2014, 12:22:51 PM8/5/14
to google-a...@googlegroups.com
Hi,

I'm looking for a way to do this as well. The endpoints I'm talking about are these: com.google.api.server.spi.config

The only good answer on SO is to disable security in Chrome when doing local development. Is that really the only way?

Andrey Rychkov

unread,
Oct 23, 2014, 7:32:49 AM10/23/14
to google-a...@googlegroups.com
Hi,

How can i enable CORS for google endpoints (/_ah/api) ? I made a filter, it adds "Access-Control-*" headers. The filter works for all requests except google endpoints urls. It seems there are some setting to enable CORS, but I can't find this.
Reply all
Reply to author
Forward
0 new messages