Start a new topic

IP address of endpoint

Hi,



Is there a way to get an endpoint's IP address?



Thanks

Hi, can you elaborate on what you mean, and what your use case is?
I've developed a simple survey and want to know the general location of the participants without asking for a special permission. Mapping IP address to a location, even in the country/state level, will be enough.
Hi, you can access the headers of the incoming request (including `x-forwarded-for`) as `request.headers` through business logic. To see the full list of headers sent by your client, you could try simply creating a business logic script that looks something like:



```

response.body = request.headers;

response.complete();

```
Thanks, request headers include x-forwarded-for and x-real-ip.
Login or Signup to post a comment