forked from sclorg/httpd-ex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (27 loc) · 721 Bytes
/
index.html
File metadata and controls
33 lines (27 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang ="de">
<head>
<meta charset="UTF-8">
<title> Vor meiner Tür - am Regerplatz </title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link href="/views/inc/css/design.css" rel="stylesheet">
</style>
</head>
<body>
<div>
<p class="greeting-id">The ID is </p>
<p class="greeting-content">The content is </p>
</div>
Blutgruppen für Vampire!!!
<script>
$(document).ready(function() {
$.ajax({
url: "http://testdocker.abo.svc/apigreeting?name=bearbel"
}).then(function(data) {
$('.greeting-id').append(data.id);
$('.greeting-content').append(data.content);
});
});
</script>
</body>
</html>