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

gefragt vor 3 Monaten212 Aufrufe
1 Antwort
3
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 3 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen