-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
42 lines (36 loc) · 1.15 KB
/
test.html
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
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Tui Innovation Test Site</title>
</head>
<body>
<h4>Insert new element</h4>
<form action="/api/new_element.php" method="get">
field1: <input name="field1" type="text" /> </br>
field2: <input name="field2" type="text" /> </br>
<input type="submit" />
</form>
<body>
<h4>Test post</h4>
<form action="/api/test_post.php" method="post">
field1: <input name="field1" type="text" /> </br>
field2: <input name="field2" type="text" /> </br>
<input type="submit" />
</form>
<h4>Read all elements</h4>
<form action="/api/list_elements.php" method="get">
<input type="submit" />
</form>
<h4>Delete all elements</h4>
<form action="/api/delete_elements.php" method="get">
<input type="submit" />
</form>
<h4>Call Laterooms api</h4>
<form action="/api/hotels.php" method="post">
field1: <input name="field1" type="text" /> </br>
field2: <input name="field2" type="text" /> </br>
<input type="submit" />
</form>
</body>
</html>