-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (68 loc) · 2.24 KB
/
index.html
File metadata and controls
73 lines (68 loc) · 2.24 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>YApi2Postman</title>
<link rel="stylesheet" type="text/css" href="bootstrap.min.css"/>
<style type="text/css">
html {
font-family: Arial,serif;
}
.panel {
margin: 50px auto;
width: 700px;
}
.table {
margin-bottom: 0;
}
tr,th {
line-height: 50px;
text-align: center;
}
.table>tbody>tr>td {
vertical-align: middle;
}
#footer {
margin-bottom: 0;
}
</style>
</head>
<body>
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading"><Strong>Transfer YApi doc to Postman</Strong></div>
<div class="panel-body">
<form enctype="multipart/form-data" method="post" action="transfer.php">
<table class="table table-bordered">
<tr>
<th>Option</th>
<th>Required</th>
<th>Value</th>
</tr>
<tr>
<td>YApi Doc File</td>
<td>Required</td>
<td><input type="file" class="form-control" name="uploadFile"/></td>
</tr>
<tr>
<td>Postman's API Key</td>
<td>Optional</td>
<td><input type="text" class="form-control" name="apiKey" placeholder="Postman's apiKey" value="" /></td>
</tr>
<tr>
<td></td>
<td></td>
<td>
<input type="submit" class="btn btn-primary btn-default" value="submit" id="uploadBtn"/>
</td>
</tr>
</table>
</form>
</div>
<div class="panel-footer">
<!-- <p>If you wanna import postman directly, you may input the postman's apiKey. </p>-->
<p id="footer">Haven't get an API Key yet? <a href="https://go.postman.co/integrations/services/pm_pro_api" target="_blank">Click here</a> to generate one.</p>
</div>
</div>
</body>
</html>