https://github.com/nilesh-maurya/request-header
FreeCodeCamp's API and Microservices Certifications
https://github.com/nilesh-maurya/request-header
api freecodecamp microservice nodejs
Last synced: about 1 year ago
JSON representation
FreeCodeCamp's API and Microservices Certifications
- Host: GitHub
- URL: https://github.com/nilesh-maurya/request-header
- Owner: nilesh-maurya
- Created: 2019-11-06T11:54:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-06T11:56:26.000Z (over 6 years ago)
- Last Synced: 2025-01-06T10:24:52.342Z (about 1 year ago)
- Topics: api, freecodecamp, microservice, nodejs
- Language: HTML
- 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:
* [base_url]/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"}`