Returns ip and geo data of server that made the request https://tornadowithdraw.com/ip
| lib | ||
| src | ||
| .dockerignore | ||
| .eslintrc.js | ||
| .gitattributes | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
ip-echo
Returns ip and minimal geo data (ISO codes) of server that made the request
How to start
-
Install Node.js
-
Install Deps using
yarn -
Start with
yarn start
Usage
$ curl http://localhost:3500
{"ip":"127.0.0.1","tor":"false"}
$ curl -H "X-forwarded-for: 8.8.8.8" http://localhost:3500
{"ip":"8.8.8.8","iso":"US","tor":"false"}