https://github.com/drex44/header-parser-microservice
API Project: Request Header Parser Microservice for freeCodeCamp
https://github.com/drex44/header-parser-microservice
expressjs freecodecamp-project nodejs
Last synced: 2 months ago
JSON representation
API Project: Request Header Parser Microservice for freeCodeCamp
- Host: GitHub
- URL: https://github.com/drex44/header-parser-microservice
- Owner: drex44
- License: mit
- Created: 2018-08-10T06:10:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T10:57:37.000Z (about 6 years ago)
- Last Synced: 2025-01-07T06:19:15.966Z (4 months ago)
- Topics: expressjs, freecodecamp-project, nodejs
- Language: HTML
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API Project: Request Header Parser Microservice for freeCodeCamp
### User stories:
1. I can get the IP address, preferred languages (from header `Accept-Language`) and system infos (from header `User-Agent`) for my device.#### Example usage:
* https://distinct-action.glitch.me/api/whoami#### Example output:
* `{"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"}`