title: AWS Load balancer drops out query params
body: <p>We have a springboot REST API which accepts search params via query, like:</p>
  
  <p><a href="http://www.example.org/myrepo?page-number=1&amp;page-size=2" rel="nofollow noreferrer">http://www.example.org/myrepo?page-number=1&amp;page-size=2</a></p>
  
  <p>When run locally, our API receives entire URL: <a href="http://www.example.org/myrepo?page-number=1&amp;page-size=2" rel="nofollow noreferrer">http://www.example.org/myrepo?page-number=1&amp;page-size=2</a> </p>
  
  <p>But when we deploy on aws ECS Fargate -> behind an application load balancer -> the query params are clipped off by the time request reaches api.</p>
  
  <p>So api access logs receive: <a href="http://www.example.org/myrepo" rel="nofollow noreferrer">http://www.example.org/myrepo</a></p>
  
  <p>We think its aws ALB that is causing the issue. Does anyone have experience? Any pointers are appreciated.</p>
  
  <p>We tried to search, but the closest related thread we got was this:
  <a href="https://forums.aws.amazon.com/thread.jspa?messageID=796333&amp;#796333" rel="nofollow noreferrer">https://forums.aws.amazon.com/thread.jspa?messageID=796333&amp;#796333</a></p>
  
  <p>where someone had similar issue with S3 redirects.</p>