-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevidence.html
More file actions
63 lines (61 loc) · 1.98 KB
/
evidence.html
File metadata and controls
63 lines (61 loc) · 1.98 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
<html>
<head>
<title>
</title>
</head>
<body>
<div id="vue_things">
</div>
<script>
var vue_things=new Vue({
el:'#vue_things',
data:
{
},
methods:
{
a_get:function()
{
axios(
{
method:'get',
url:'http://127.0.0.1:5000/',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
}
})
.then(function(response){
})
.catch(function(error){
})
},
a_post:function()
{
axios({
method:'post',
url:'http://45.32.51.110:1234/get_title',
params:
{
name:"小王",
},
data:
{
name:"小王",
},
headers:
{
'Content-Type': 'application/x-www-form-urlencoded',
}
})
.then(function(response){
console.log(response.data)
})
.catch(function(error){
})
},
}
})
vue_things.a_post();
</script>
</body>
</html>