/request-header-parser-microservice

Freecodecamp's API Project for Back End Development Certification

Primary LanguageJavaScript

request-header-parser-microservice

Freecodecamp's API Project for Back End Development Certification

User Stories:

  • I can get the IP address, language and operating system for my browser

Requirements

  • Node.js

Installation

npm install - to install the dependencies

Usage

npm start - to start the server

Example Usage

http://host:port/api/whoami - to request the info

Example Output

{"ipaddress":"::1","language":"pt-BR","software":"Windows NT 10.0"}