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:
Here is what I get when I use the app on Heroku:
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