This is a project developed as part of the Request Header Parser challenge for the freeCodeCamp API and Microservice certification. The project represents a robust and sophisticated solution that enables users to easily retrieve and view key information about their IP address, language, and software configuration. It was built based on the boilerplate available here.
| Endpoints | Description |
|---|---|
GET /api/whoami |
Return an object with IP Address and information from accept-language and user-agent headers |
{"ipaddress":"159.20.14.100","language":"en-US,en;q=0.5", "software":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"}
Just run on terminal:
npm install
npm start