I am rewriting a PHP app to a Azure Static Web App and struggeling with some API functionality. In the old PHP Site, there are few AJAX API Calls and the API is using $_SERVER['REMOTE_ADDR']
to get the client IP.
I know in flask was that functionality flask.request.remote_addr
. Is there anything in azure.functions where I currently basically the HttpRequest and HttpResponse classes and seek a easy way to get the client IP.
Any advise is welcome!