[SOLVED] Get ip address in cloud code

Hey there, trying to get a users ip address when they call a cloud function, is this possible.

Tried using the request object as we could get it from the headers using the old parse server but nothing there

Thanks

Did you try logger.info(JSON.stringify(request)) to see if it has the IP there?

1 Like

Ye, you’re right, My bad, it’s in there.