The Problem: You need to get the client IP address in the Cloud Code for Geolocation or similar purposes? It used to be more complicated, now we can just use the request headers as the update below describes. Update 2017-10-10 There seems to be a fix in Parse server that allows us to read the headers without this workaround. If you have a recent version of Parse server, you should be able to simply access the visitor IP through x-forwarded-for request header.

Continue reading

Author's picture

Absurd Tech

Another Coder Blog