curl -X OPTIONS -v https://my-domain/MyService.Rpc
A curl to just the domain without a path yields the same result. The same curl calls to a service hosted by ESPv1 have the CORS headers attached to them.
I have found no mention whatsoever of CORS in my ESP container's logs (debug logging is turned on already; see above), but can send those to you anyway if that would help.
P.S.: I am using ESP v2.23.0.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-endpoints/XuC2FBOvFJY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/f55f95a3-247e-4a14-b544-67ec9ad47406n%40googlegroups.com.
gcloud run deploy CLOUD_RUN_SERVICE_NAME \ --image="gcr.io/ESP_PROJECT_ID/endpoints-runtime-serverless:ESP_VERSION-CLOUD_RUN_HOSTNAME-CONFIG_ID" \ --set-env-vars=ESPv2_ARGS=--cors_preset=basic \ --allow-unauthenticated \ --platform managed \ --project ESP_PROJECT_ID
gcloud_build_image like below-ENV ESPv2_ARGS ^++^--cors_preset=basic++--cors_allow_method="GET,PUT,POST"++--cors_allow_credentials
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/9929f575-fdd0-4a81-a6a8-792171ee5581n%40googlegroups.com.
On 22. Jan 2021, at 21:07, Wayne Zhang <qiwz...@google.com> wrote: