I have an AWS cloudfront ahead of an S3 bucket that contains my frontend app (https://myapp.com). When I go to https://myapp.com/experts?profession=carpenter
through the navigation elements of my site (button in this case) everything works fine. But when I try to access this same url by manually entering the url from the navigation bar of the browser the problem appears. The query params disappear and only in the navigation bar is the following url without the query params https://myapp.com.com/experts
.
My question is, how should I configure AWS cloudfront to allow me to pass query parameters?
Many thanks!
location
andselect
. The recommendation if you are going to do this is to name your parameters beginning withx-
but notx-amz
, so, e.g.?x-profession=carpenter
is potentially more futute-proof (although, admittedly, "profession" seems like a word S3 is unlikely to need in the future). – Rudiment