forked from asternic/wuzapi
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgenerated-requests.http
More file actions
80 lines (73 loc) · 1.42 KB
/
Copy pathgenerated-requests.http
File metadata and controls
80 lines (73 loc) · 1.42 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
74
75
76
77
78
79
80
###
POST http://localhost:8080/chat/send/list
token: 1234ABCD
Content-Type: application/json
{
"Phone": "6282213542319",
"Title": "How you doin",
"Description": "How you doin",
"ButtonText": "How you doin",
"FooterText": "asdasd asdmb nasdi",
"Sections": [
{
"Title": "How you doin 1",
"Rows": [
{
"Title": "Yes",
"Description": "askjhdkjashdkjash"
},
{
"Title": "Yes",
"Description": "askjhdkjashdkjash"
}
]
}
]
}
###
POST http://localhost:8081/chat/send/text
token: 1234ABCD
Content-Type: application/json
{
"Phone": "6282213542319",
"Body": "How you doin"
}
###
POST http://localhost:8081/chat/send/location
token: 1234ABCD
Content-Type: application/json
{
"Phone": "6282213542319",
"Name": "How you doing",
"Latitude": 48.85837,
"Longitude": 2.294481
}
###
POST http://localhost:8081/chat/send/template
token: 1234ABCD
Content-Type: application/json
{
"Phone": "6282213542319",
"Content": "Message title",
"Footer": "Text below title, above buttons",
"Buttons": [
{
"DisplayText": "Yes",
"Type": "quickreply"
},
{
"DisplayText": "No",
"Type": "quickreply"
},
{
"DisplayText": "Visit Site",
"Type": "url",
"Url": "https://www.fop2.com"
},
{
"DisplayText": "Callme",
"Type": "call",
"PhoneNumber": "1155553934"
}
]
}