Request Header Parser Microservice
Example Requests
http://localhost:3000/api/whoami
{
"language": "application/json",
"remote_ip": "127.0.0.1",
"software": "PostmanRuntime/7.28.2",
"url": "http://localhost:3000/api/whoami",
"path": "/api/whoami",
"method": "GET"
}
http://localhost:3000/api/whoami?info=language
{
"response": "application/json"
}
http://localhost:3000/api/whoami?info=software
{
"response":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
}
http://localhost:3000/api/whoami?info=ipaddress
{
"response": "127.0.0.1"
}
http://localhost:3000/api/whoami?info=url
{
"response": "http://localhost:3000/api/whoami?info=url"
}
http://localhost:3000/api/whoami?info=path
{
"response": "/api/whoami?info=path"
}
http://localhost:3000/api/whoami?info=method
{
"response": "GET"
}