-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetails.html
More file actions
54 lines (52 loc) · 1.3 KB
/
details.html
File metadata and controls
54 lines (52 loc) · 1.3 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<title>Hello Api Calling...</title>
<style>
body {
text-align: center;
/* background-image: url("./Download.jpg"); */
background-color: rgba(255, 255, 128, .5);
background-position: center;
}
span {
background-color: aqua;
}
ul {
list-style: none;
padding: 0px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
li {
padding: 5px 10px;
background-color: #eeeeee;
border: 1px solid #dddddd;
}
</style>
</head>
<body>
<h2>API</h2>
<p>Hii Server is live Please acces all the data thorugh</p>
<ul>
<li>just give <span>/api/products/</span> for all the data</li>
<!-- <button onclick="fetch()">To fetch Data</button> -->
<br />
<li>
<span>/api/products/?sort=by name,price</span> anything u want just
put-before parameeter
</li>
<br />
<li>
You can use select just <span>/api/products/?select=name</span> like this
</li>
<br />
<li>
You can directly search over name and company also
<span>/api/products/?name=iphone types....</span>
</li>
</ul>
<!-- JavaScript -->
</body>
</html>