-
Notifications
You must be signed in to change notification settings - Fork 0
/
testing.http
156 lines (128 loc) · 3.06 KB
/
testing.http
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
@url = http://localhost:8000/api
@school_id = 1
# @name successLogin
GET {{ url }}/login?contact=9999999999&prn=DEM/0003/2122 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name successLogin2
GET {{ url }}/login?contact=8989056890&prn=DEM/0001/2122 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name logout
GET {{ url }}/logout/1/8989056890 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name failedLogin
GET {{ url }}/login?contact=8989056890&prn=WLS/0010/2021 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getAttendance
GET {{ url }}/attendances/1 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getClasswork
GET {{ url }}/classwork/1?school_id={{school_id}} HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getFees
GET {{ url }}/fees/3?school_id=3 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getVersion
GET {{ url }}/version HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getHomework
GET {{ url }}/homework/3?school_id={{school_id}} HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getHoliday
GET {{ url }}/holidays?school_id={{school_id}} HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getGallery
GET {{ url }}/gallery/4?school_id={{school_id}} HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getNotice
GET {{ url }}/notices/3?school_id={{school_id}} HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getChats
GET {{ url }}/chats/?teacher=5&student=1 HTTP/1.1
Accept: application/json
UniqueIdentity: true
###
# @name getObservation
GET {{ url }}/observations/1?school_id={{school_id}} HTTP/1.1
Accept: application/json
IsApi: true
###
########## LIVE TESTS ############
# @name liveLogin
GET https://wonderlearning.in/api/login?contact=7264809024&prn=DEM/0006/2122 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name liveLogout
GET https://wonderlearning.in/api/logout/11/7264809024 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveAttendance
GET https://wonderlearning.in/api/attendances/13 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveClasswork
GET https://wonderlearning.in/api/classwork/13?school_id=2 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveFees
GET https://wonderlearning.in/api/fees/8?school_id=2 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveHomework
GET https://wonderlearning.in/api/homework/8?school_id=2 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveVersion
GET https://wonderlearning.in/api/version HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveHoliday
GET https://wonderlearning.in/api/holidays?school_id=2 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveGallery
GET https://wonderlearning.in/api/gallery/6?school_id=3 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name getLiveNotice
GET https://wonderlearning.in/api/notices/6?school_id=3 HTTP/1.1
Accept: application/json
IsApi: true
###
# @name liveObservation
GET https://wonderlearning.in/api/observations/11?school_id=3 HTTP/1.1
Accept: application/json
IsApi: true
###