Created
October 4, 2018 03:00
-
-
Save ganeshkbhat/f8036e12d0a2a630b8f2d81ad855fe8a to your computer and use it in GitHub Desktop.
ExpressJS Series: Getting the req.ips
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.post("/someUrl", function(req, res) { | |
| let IPAddress = req.ips; | |
| res.send(200).send({result: 'Success', tracePaths: IPAddress}); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment