Тёмный

AWS API Gateway 👉 Enable CORS Tutorial 🔥 

Gokce DB
Подписаться 8 тыс.
Просмотров 9 тыс.
50% 1

You have a REST API which is integrated with an AWS Lambda function and deployed with the Amazon API Gateway.
Now you want to enable CORS or cross-origin resource sharing so you can call your API using an HTTP request from a different domain.
How do you do this using the API Gateway? Let's find out.
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. APIs act as the "front door" for applications to access data, business logic, or functionality from your backend services.
AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers. You can trigger Lambda from over 200 AWS services and software as a service (SaaS) applications, and only pay for what you use.
P.S. Why did the developer get lost in the jungle with Amazon API Gateway? Because they followed the documentation's "path" parameter a little too literally and ended up in a wild endpoint!

Опубликовано:

 

13 авг 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@kvtys
@kvtys 3 месяца назад
2:40 is where he actually answers the question. Appreciate the energy man.
@ryanprasad2090
@ryanprasad2090 10 месяцев назад
Subscribed. All tutorial channels need to be like this! The blazer is outrageous! I love it!
@GokceDB
@GokceDB 10 месяцев назад
:)
@AnthoCM22
@AnthoCM22 4 месяца назад
hello can you do an update for this video, the AWS API Gateway interface has changed a lot.
@os-jh4ce
@os-jh4ce Месяц назад
You are amazing!! I like the way you explain. So easy and short explanations in a few steps
@lMagickl
@lMagickl 9 месяцев назад
I love your good vibes haha. Keep it up ! 👍
@GokceDB
@GokceDB 9 месяцев назад
Thank you! :)
@gname3572
@gname3572 10 месяцев назад
Love your energy. Keep it up. 👍
@GokceDB
@GokceDB 10 месяцев назад
Thank you! :)
@vonderasche2963
@vonderasche2963 9 месяцев назад
this worked perfectly. thank you.
@GokceDB
@GokceDB 9 месяцев назад
Thank you! :)
@CanalExistencial
@CanalExistencial 2 месяца назад
Thank you very much! It helped a lot!
@erdincatay3715
@erdincatay3715 11 месяцев назад
Thanks bro. I hope you get more subscribers.
@GokceDB
@GokceDB 11 месяцев назад
Thank you! :)
@user-hp5vb8ip5b
@user-hp5vb8ip5b 9 месяцев назад
It is true Amazon API gateway you get lost , nothing works properly and there are multiple versions of the APIs now. and sometimes it is very hard to get reflected your changes espacially when using IaaC.
@GokceDB
@GokceDB 9 месяцев назад
I hear you!
@kientph
@kientph 8 месяцев назад
I cant focus on the video, I keep focus on you :]
@GokceDB
@GokceDB 8 месяцев назад
Oh no!
@guillermonarvaez8486
@guillermonarvaez8486 4 месяца назад
Need Update doesnt work
@Blazs120gl
@Blazs120gl 4 месяца назад
I have just run into the same problem. The solution for me was that under my API Gateway > APIs > Resources page, I had to click the "/" (API root) next to the expand icon. It seems that it's not selectable until you manage to hit the / charater itself, not even the very line in the list view. After doing so, Resource details on the right, will now have an Enable CORS button. Hope this helps.
@pikachu3686
@pikachu3686 3 месяца назад
@@Blazs120gl bhai thoda vistar mae btaonga
@quotebrainiac2593
@quotebrainiac2593 11 месяцев назад
Will this work for localhost?
@GokceDB
@GokceDB 11 месяцев назад
Don't think it'll work for localhost. Did you try it?
@quotebrainiac2593
@quotebrainiac2593 11 месяцев назад
​@@GokceDBI tried it but it didn't work for localhost.
@quotebrainiac2593
@quotebrainiac2593 11 месяцев назад
​@@GokceDBUpdate: for my case, I am using lambda integration with the api and the docs say the backend is responsible for returning the CORS headers. I added them to my lambda function and it now works.
@GokceDB
@GokceDB 11 месяцев назад
@@quotebrainiac2593 that's what I suspected.
@GokceDB
@GokceDB 11 месяцев назад
@@quotebrainiac2593 Great! :)
@haydenadams9923
@haydenadams9923 5 месяцев назад
just talk normally mate. Your way of talking is annoying.
@olhodetamarutaca
@olhodetamarutaca 7 месяцев назад
🤨 🫴🫴 I came for the solution and watched till the end laughing. Nice setup and explanations. Thank you.
Далее
Я НЕ ОЖИДАЛ ЭТОГО!!! #Shorts #Глент
00:19
Deploy FastAPI on AWS Lambda | In 9 MINUTES
9:02
Просмотров 26 тыс.
Connect AWS Lambda to API Gateway for REST APIs
11:42
Deploy a SpringBoot API on AWS Lambda in 10 minutes
12:16
Terraform AWS Api gateway + Lambda Integration 🚀
28:08