How do I obtain the IP of the calling user in a js cloudcode function? I’m trying to accept Stripe’s ToS which needs the user’s IP.
Hello @jp19344
You can get X-Forwarded-For
property from Request Header
More information here - X-Forwarded-For - HTTP | MDN
Regards, Dima