Endpoint: Get user IP address

I am running an endpoint where I want to retrieve and respond with the user’s IP address. at the moment, using the standard way to get the IP address from the request object, I see a private network address. Is it possible to preserve and forward the X-Forwarded-For header to the endpoint?

1 Like