An express app that parses the header of a request and returns a JSON object with the IP address, language and operating system of the requester.
Visiting https://carnelian-button.glitch.me/api/whoami returns a JSON object.
Local development is localhost:5000/api/whoami
{
"ipaddress": "IP address",
"language": "language",
"software": "operating system"
}
npm install
npm run dev
npm run build
and run with:
npm run start
- Express - Handles requests and header parsing.
- John Irle - JohnIrle