title: AWS ALB (Application Load Balancer) - "502 Bad Gateway" Issue
body: <ul>
  <li><p>We have using multi-container docker environment for our project to deploy the microservices(Scala) in AWS. We are using AWS ECS (Elastic container service) to deploy and manage the application in AWS Cloud. We have placed 5 microservices within separate Task definition and launched it using ECS. </p></li>
  <li><p>We have setup ALB (Application Load Balancer) and mapped with ECS and got the ALB (CName) domain.  We have created new listener rules to route requests to targets API is routing (Path base routing)
  <a href="http://umojify-alb-1987551880.us-east-1.elb.amazonaws.com" rel="nofollow noreferrer">http://umojify-alb-1987551880.us-east-1.elb.amazonaws.com</a></p></li>
  <li><p>Finally, we got the response "502 Bad Gateway" and "Status code: 405". Please guide us on this issue.</p></li>
  <li>Where and why the issue came? Is it for ALB or API?  </li>
  </ul>
  
  <p>API URL:
  <a href="http://umojify-alb-1987551880.us-east-1.elb.amazonaws.com/save-user-rating" rel="nofollow noreferrer">http://umojify-alb-1987551880.us-east-1.elb.amazonaws.com/save-user-rating</a></p>