https://github.com/timhagn/th-fcc-headerparser
fCC - Apis and Microservices Projects - Request Header Parser Microservice
https://github.com/timhagn/th-fcc-headerparser
Last synced: about 2 months ago
JSON representation
fCC - Apis and Microservices Projects - Request Header Parser Microservice
- Host: GitHub
- URL: https://github.com/timhagn/th-fcc-headerparser
- Owner: timhagn
- Created: 2018-09-25T18:22:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-25T19:59:14.000Z (over 6 years ago)
- Last Synced: 2025-02-13T20:18:30.495Z (3 months ago)
- Language: HTML
- Homepage: https://th-fcc-headerparser.glitch.me/
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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://th-fcc-headerparser.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"}`