How to Guides

How to check an incoming IP address

Sometimes you want to access the true IP address of the gateway's client making the current request. To do this you can read the true-client-ip header:

const ip = request.headers.get("true-client-ip");
Previous
Rick and Morty Developer Portal and Documentation