-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.http
132 lines (110 loc) · 2.58 KB
/
test.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
# Local
### @name GreenTest
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Stefan Karabaliev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 3500,
"ssn": "99996",
"charitySpent": 500
}
### @name FullNameTest-Invalid
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Stefan 12340978",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 3500,
"ssn": "99997",
"charitySpent": 500
}
### @name GrossIncomeTest-Invalid
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Stefan Karabaliev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": -123,
"ssn": "99998",
"charitySpent": 500
}
### @name SSNTest-Invalid
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Stefan Karabaliev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 3500,
"ssn": "test",
"charitySpent": 500
}
### @name CharitySpentTest-Invalid
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Stefan Karabaliev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 3500,
"ssn": "99999",
"charitySpent": -123
}
### @name MissingInfoTest-Invalid
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Stefan Karabaliev",
"ssn": "99999"
}
### @name TaxParamsTest-Invalid
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Stefan Karabaliev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 3500,
"ssn": "99999",
"charitySpent": 0,
"country": "Imagiaria",
"version": "2"
}
### @name GeorgeExample
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "George Georgiev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 980,
"ssn": "00001",
"charitySpent": 0
}
### @name IrinaExample
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Irina Georgieva",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 3400,
"ssn": "00002",
"charitySpent": 0
}
### @name MickExample
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Mick Georgiev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 2500,
"ssn": "00003",
"charitySpent": 150
}
### @name BillExample
POST http://0.0.0.0:5100/tax HTTP/1.1
content-type: application/json
{
"fullName": "Bill Georgiev",
"dateOfBirth": "2022-03-09T17:45:58.975Z",
"grossIncome": 3600,
"ssn": "00004",
"charitySpent": 520
}