parse-community / parse-server-example

Example of Parse Server using the express framework.

Home Page:http://parseplatform.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can i access client Ip

maxto024 opened this issue · comments

i did like this to see all headers form the request

console.log(request.headers);

then i see only
0|Somaliap | { host: 'dashboard.luulsolutions.com:1337',
0|Somaliap | connection: 'keep-alive',
0|Somaliap | 'content-length': '0',
0|Somaliap | 'postman-token': 'daf3b673-1b6b-b967-1da1-0d804779cdf8',
0|Somaliap | 'cache-control': 'no-cache',
0|Somaliap | origin: 'chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop',
0|Somaliap | 'x-parse-application-id': <>',
0|Somaliap | 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36',
0|Somaliap | 'content-type': 'application/json',
0|Somaliap | accept: '/',
0|Somaliap | 'accept-encoding': 'gzip, deflate',
0|Somaliap | 'accept-language': 'en-US,en;q=0.8' }

how can i access client IP