How to use if you have multiple services but want a single api gateway ? Do I have to create a huge config that contains all the path that exist in the different services ?
I think yes, then you will have something like stackoverflow.com/questions/53839360/combining-multiple-backend-services-into-one-cloud-endpoint-api where each path would have it's own x-google-backend address
after the step where you generate a new API Gateway, if i access the URL of the gateway i get the response from the backend, without authorization. i don't get your Error: Forbidden message. so basically anyone that knows the API Gateway URL can access without authorization the Cloud Function in the backend.
I do not think this is a problem of the video, notice that hes function is a gen1 function, and does not require https neither, nowadays https is always enabled and also its 2nd gen function, so this is more something that google changed, but you can enable security on the get too by just commenting the empty array shown at 10:07
Great tutorial, I only did not understand why the get is not protected, what makes this one be unprotected while others do require the key? I missed this, is it because the security array at the yml is empty? EDIT: Found the explanation indeed is what I though, at 10:08 for anybody else that wonders :)
basePath never worked for me along with a Python Cloud Run endpoint that looks like: @app.route('/apigateway/test2/', methods=['GET']) doing v1/apigateway/test2/.... gives me a "Not Found"
thank you so much for this video! It really helped a lot, especially in places where docs weren't so helpful
Another question, if possible please make a follow up for this video, integrating with google cloud identity platform :) and also the cloud armor
Pretty coverage about API Gatway and other stuffs that could appear on other cenarious. Thanks!
Happy that you liked the video
is it possible to set the key to be sent on the headers instead of the query params?
Thank you, it was really helpful
This video help me a lot, Thank you!!
How to use if you have multiple services but want a single api gateway ? Do I have to create a huge config that contains all the path that exist in the different services ?
I think yes, then you will have something like stackoverflow.com/questions/53839360/combining-multiple-backend-services-into-one-cloud-endpoint-api
where each path would have it's own x-google-backend address
Hi, I have a problem with CORS in api getway, what is the solution, I haven't found it!
after the step where you generate a new API Gateway, if i access the URL of the gateway i get the response from the backend, without authorization. i don't get your Error: Forbidden message. so basically anyone that knows the API Gateway URL can access without authorization the Cloud Function in the backend.
I do not think this is a problem of the video, notice that hes function is a gen1 function, and does not require https neither, nowadays https is always enabled and also its 2nd gen function, so this is more something that google changed, but you can enable security on the get too by just commenting the empty array shown at 10:07
If I implement a load balanced to have my domain. how do i block the automatically generated url for my api gateway ???
Really cool tutorial
Very Helpful
Can you please tell me how we can integrate GKE with Cloud API Gateway ?
Thanks
Great tutorial, I only did not understand why the get is not protected, what makes this one be unprotected while others do require the key? I missed this, is it because the security array at the yml is empty?
EDIT: Found the explanation indeed is what I though, at 10:08 for anybody else that wonders :)
basePath never worked for me along with a Python Cloud Run endpoint that looks like: @app.route('/apigateway/test2/', methods=['GET'])
doing v1/apigateway/test2/....
gives me a "Not Found"