2017-02-18 19:55:28 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Request Header Parser</title>
|
|
|
|
<link rel="shortcut icon" href="https://cdn.hyperdev.com/us-east-1%3A52a203ff-088b-420f-81be-45bf559d01b1%2Ffavicon.ico" type="image/x-icon"/>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
|
|
|
|
<link href="style.css" rel="stylesheet" type="text/css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
2020-10-12 21:31:20 +02:00
|
|
|
<h2>Request Header Parser Microservice</h2>
|
2017-02-18 19:55:28 +01:00
|
|
|
|
|
|
|
<h3>Example Usage:</h3>
|
|
|
|
<p>
|
2020-11-26 16:46:54 +01:00
|
|
|
<a href="api/whoami">[base url]/api/whoami</a>
|
2017-02-18 19:55:28 +01:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<h3>Example Output:</h3>
|
|
|
|
<p>
|
|
|
|
<code>{"ipaddress":"::ffff:159.20.14.100","language":"en-US,en;q=0.5",<br>"software":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"}</code>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
|
|
|
<p>
|
2020-07-22 07:01:23 +02:00
|
|
|
by <a href="https://www.freecodecamp.org">freeCodeCamp</a>
|
2017-02-18 19:55:28 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|