An open API service indexing awesome lists of open source software.

https://github.com/lucasctnh/fcc-request-header-parser-microservice

Full stack JS app for the Free Code Camp course.
https://github.com/lucasctnh/fcc-request-header-parser-microservice

api expressjs freecodecamp-project header-parser microservice nodejs

Last synced: 4 months ago
JSON representation

Full stack JS app for the Free Code Camp course.

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://everlasting-chiller.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"}`