Skip to content
A boilerplate for a freeCodeCamp project.
Branch: gomix
Clone or download
Pull request Compare This branch is 6 commits ahead of freeCodeCamp:gomix.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
views
.gitconfig
.gitignore
.hyperdev-assets
README.md
package-lock.json
package.json
server.js

README.md

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"}
You can’t perform that action at this time.