I am trying to make use of functional url in case of mono lambda function, I have created a functional url with no security.
URL was created successfully, but Not able to hit that url using postman. So I use chrome web browser to hit my url(Get request). But the problem was whenever I hit the url, My function gets executed twice.
If anyone have faced same issue, Please assist.
CodePudding user response:
There are two possibilities I can think off-
- Chrome/browser sending another request for
favicon.png
- If you have configuration on server side that enforce HTTP to HTTPS conversion of the request, like re-direct to enforce SSL connection. In that case as well, browser send one request HTTP and redirect request to HTTPS. e.g when you hit-
http://example.org
, if it enforce thehttps
, then again browser send another request tohttps://example.org
.
You need to check possibilities here using network trouble shooting. Hope this will help you!