I understand that we can set mapping template for API Gateway with Lambda integration request. With this type of request integration, referrer url can be fetched as explained in this answer But for Proxy Lambda integration, we do not have option to set mapping template.
Is there a way to get referrer url even if I have enabled Lambda Proxy integration? Can we still use initial request object inside Lambda function?