-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttp-request.http
153 lines (109 loc) · 2.97 KB
/
http-request.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
PATCH http://localhost:8080/exchangeRate/US%20DollarRussian%20Ruble
Content-Type: application/x-www-form-urlencoded
rate = 5
###
POST http://localhost:8080/currencies
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
code = OOO &
name = GGG+dollar &
sign = %3F
###
GET http://79.174.80.223:8080/currencies
###
OPTIONS http://localhost:8080/exchangeRate/USDRUB
Host: localhost:8080
###
#OPTIONS http://localhost:8080/exchangeRate/USDRUB
#Access-Control-Allow-Origin: '*'
##
##rate=80000
###
#OPTIONS http://localhost:8080
#
#
OPTIONS http://localhost:8080//exchangeRate/USDRUB?rate=2
Host: 127.0.0.1
Origin: http://localhost:8080//exchangeRate/USDRUB
Access-Control-Request-Method: PATCH
Access-Control-Request-Headers: Content-Type
###
GET http://localhost:8080/exchange?from=AUD&to=YYY&amount=10
###
GET http://localhost:8080/exchange?from=AUD&to=BDT&amount=10
###
GET http://localhost:8080/exchange?from=RUB&to=EUR&amount=10
###
GET http://localhost:8080/exchange?from=USD&to=RUB&amount=10
###
PATCH http://localhost:8080/exchangeRate/USDRUB
Access-Control-Allow-Origin: '*'
rate=33333
###
PATCH http://localhost:8080/exchangeRate/
###
POST http://localhost:8080/exchangeRates
Content-Type: application/x-www-form-urlencoded
baseCurrencyCode=AUD&targetCurrencyCode=THB&rate=5
###
GET http://localhost:8080/exchangeRates
Accept: application/json
###
GET http://localhost:8080/exchangeRate
Accept: application/json
###
GET http://localhost:8080/exchangeRate/AUDKZT
Accept: application/json
###
GET http://localhost:8080/exchangeRate/USDEUR
Accept: application/json
###
POST http://localhost:8080/currencies
Content-Type: application/x-www-form-urlencoded
name=Brazilian real&code= BRL&sign= R$
###
POST http://localhost:8080/currencies
Content-Type: application/x-www-form-urlencoded
name=Грзин&code=ГРУ
###
POST http://localhost:8080/currencies
Content-Type: application/x-www-form-urlencoded
name=EEE&code=ккк
###
POST http://localhost:8080/currencies
Content-Type: application/x-www-form-urlencoded
name=Belarusian ruble&code=BYN&sign=Br
###
GET http://localhost:8080/currencies
Accept: application/json
<> 2024-02-08T151241.200.json
<> 2024-02-08T151143.200.json
<> 2024-02-07T230102.200.json
<> 2024-02-07T224451.200.json
<> 2024-02-07T224051.500.json
<> 2024-02-07T224033.200.json
<> 2024-02-07T223825.500.json
<> 2024-02-07T215845.200.json
<> 2024-02-07T211254.200.json
<> 2024-02-07T204929.200.json
###
GET http://localhost:8080/currency/USD
Accept: application/json
<> 2024-02-08T151412.200.json
<> 2024-02-08T151305.200.json
###
GET http://localhost:8080/currency/
Accept: application/json
<> 2024-02-08T151417.400.json
<> 2024-02-08T144328.500.json
<> 2024-02-08T144223.404.json
<> 2024-02-08T144042.200.json
<> 2024-02-07T230259.200.json
<> 2024-02-07T230107.200.json
<> 2024-02-07T225747.200.json
<> 2024-02-07T225623.200.json
###
GET http://localhost:8080/currency/FFF
Accept: application/json
<> 2024-02-08T151412.200.json
<> 2024-02-08T151305.200.json
###