I created an api for returning the required info and I have deployed it to Heroku. It returns an ip address, a language and an os. The strange thing is it returns linux as the os and an ip address that is not mine.
This is what I get when I run the app locally:
{"ipaddress":"::1","language":"en-US","software":"Windows_NT 10.0.14393"}
Here is what I get when I use the app on Heroku:
{"ipaddress":"::ffff:10.109.132.249","language":"en-US","software":"Linux 3.13.0-105-generic"}
Is it returning the os + ip address that Heroku is using? I was wondering if anyone could shed light on what I am doing incorrectly.
I have my project here: https://request-header-parser-micro.herokuapp.com/
My code is here: https://github.com/purpledrumsticks/FCC-Request-Header-Parser