2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Improving examples

This commit is contained in:
mzabriskie
2015-04-08 13:24:43 -06:00
parent 8a4e502e3a
commit 4ad5438f61
12 changed files with 245 additions and 16 deletions
+2 -2
View File
@@ -8,9 +8,9 @@
<h1>axios.get</h1>
<ul id="people" class="list-unstyled"></ul>
<script src="/dist/axios.min.js"></script>
<script src="/axios.min.js"></script>
<script>
axios.get('people.json')
axios.get('/get/server')
.then(function (response) {
document.getElementById('people').innerHTML = response.data.map(function (person) {
return (