Application Load Balancer return 405 method not allowed for OPTIONS verb

0

My ALB points to my API in Fargate. Running my API locally it responds correctly.

All other end-points and http verbs appear to be working fine.

I don't see any settings anywhere that can impact http verbs with the ALB, target groups, etc.

Appreciate any advice Thanks, Jon

feita há 3 meses208 visualizações
1 Resposta
3
Resposta aceita

If you're using ALB to route traffic to your applications (for instance, containers running on ECS with Fargate or EC2 instances), you need to ensure that your application or the web server it's running on is configured to return the necessary CORS headers in response to preflight OPTIONS requests as well as other applicable requests.

profile picture
ESPECIALISTA
respondido há 3 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas