fix: syncs index.html and README.md with the example project at https://curse-arrow.glitch.me/
This commit is contained in:
parent
2c9ffe8a38
commit
f49fcf7c0c
@ -12,8 +12,8 @@ e.g. `{"unix": 1479663089000 ,"utc": "Sun, 20 Nov 2016 17:31:29 GMT"}`.
|
|||||||
5. If the date string is **invalid** the api returns a JSON having the structure `{"error" : "Invalid Date" }`.
|
5. If the date string is **invalid** the api returns a JSON having the structure `{"error" : "Invalid Date" }`.
|
||||||
|
|
||||||
#### Example usage:
|
#### Example usage:
|
||||||
* https://curse-arrow.hyperdev.space/api/timestamp/2015-12-15
|
* https://curse-arrow.glitch.me/api/timestamp/2015-12-25
|
||||||
* https://curse-arrow.hyperdev.space/api/timestamp/1450137600000
|
* https://curse-arrow.glitch.me/api/timestamp/1451001600000
|
||||||
|
|
||||||
#### Example output:
|
#### Example output:
|
||||||
* { "unix": 1450137600, "natural": "December 15, 2015" }
|
* {"unix":1451001600000, "utc":"Fri, 25 Dec 2015 00:00:00 GMT"}
|
@ -6,7 +6,7 @@
|
|||||||
<title>Timestamp Microservice</title>
|
<title>Timestamp Microservice</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 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="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
|
||||||
<link href="style.css" rel="stylesheet" type="text/css">
|
<link href="/public/style.css" rel="stylesheet" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
<h3>Example Usage:</h3>
|
<h3>Example Usage:</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>GET [project url]/api/timestamp/2015-12-25</code></li>
|
<li><a href="api/timestamp/2015-12-25">[project url]/api/timestamp/2015-12-25</a></li>
|
||||||
<li><code>GET [project url]/api/timestamp/1451001600000</code></li>
|
<li><a href="api/timestamp/1451001600000">[project url]/api/timestamp/1451001600000</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>Example Output:</h3>
|
<h3>Example Output:</h3>
|
||||||
@ -41,7 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p>
|
<p>
|
||||||
by <a href="http://www.freecodecamp.com/">freeCodeCamp</a> | <a href="https://hyperdev.com/#!/remix/FCC_API_timestamp_bplate/8338be2-a353-4892-8a0d-6295e4f12eb5">Click here to Remix</a>
|
by <a href="http://www.freecodecamp.com/">freeCodeCamp</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user