request-header-microservice

command module
v0.0.0-...-88c111d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 6 Imported by: 0

README

API Project: Request Header Parser Microservice

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:
  • /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"
}

LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL