Merge pull request #12 from moT01/fix/remove-user-stories

fix: remove user stories
This commit is contained in:
Randell Dawson 2020-10-26 09:50:00 -07:00 committed by GitHub
commit 2b5f052610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 34 deletions

View File

@ -1,10 +1 @@
# API Project: Request Header Parser Microservice for freeCodeCamp # [Request Header Parser Microservice](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/request-header-parser-microservice)
[![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-project-headerparser)](https://repl.it/github/freeCodeCamp/boilerplate-project-headerparser)
### 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:
* [base_url]/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"}`

View File

@ -1,5 +1,3 @@
/****** Main Styling ******/
body { body {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
font-size: 16px; font-size: 16px;
@ -22,31 +20,12 @@ h3 {
margin-top: 40px; margin-top: 40px;
} }
.user-stories {
position: relative;
text-align: justify;
max-width: 700px;
margin: 15px auto;
}
code { code {
font-family: monospace; font-family: monospace;
padding: 2px; padding: 2px;
color: black; color: black;
background-color: #fff; background-color: #fff;
} }
ol {
list-style-position: outside;
}
ul {
list-style-type: none;
}
li {
margin-bottom: 0.5em;
}
.user-stories li {
margin-bottom: 1em;
}
a { a {
color: #2574A9; color: #2574A9;

View File

@ -11,9 +11,7 @@
<body> <body>
<div class="container"> <div class="container">
<h2>API Project: Request Header Parser Microservice</h2> <h2>Request Header Parser Microservice</h2>
<h3>User Story: </h3>
1. I can get the IP address, preferred languages (from header <code>Accept-Language</code>)<br> and system infos (from header <code>User-Agent</code>) for my device.
<h3>Example Usage:</h3> <h3>Example Usage:</h3>
<p> <p>