GetRemoteIp Last updated: 04. Oct 2023

API only function

Use this to get the user's IP address from the current request.

Parameters

This function takes no parameters

Returns

A string with IP address for remote host.

Example

Code example (JS)

JS is normal JavaScript either running in the browser or on the Docly™ server.
let ip = docly.GetRemoteIp();
return {
    "IP" : ip
};