Skip to content

A Request Header Parser Microservice api project to get IP address, preferred languages (from header Accept-Language) and system infos (from header User-Agent) for your device.

Notifications You must be signed in to change notification settings

sudiraO21/Header-Parser-Microservice

Repository files navigation

A Request Header Parser Microservice api project to get IP address, preferred languages (from header Accept-Language) and system infos (from header User-Agent) for your device.

Installation

# Install dependencies
$ npm install

# Run the app
$ npm start

Access it at localhost:3000

How to Use

Example Usage:

Example Output:

{
  "ipaddress": "::ffff: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"
}

About

A Request Header Parser Microservice api project to get IP address, preferred languages (from header Accept-Language) and system infos (from header User-Agent) for your device.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published