-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathrequests.bat
More file actions
35 lines (25 loc) · 792 Bytes
/
requests.bat
File metadata and controls
35 lines (25 loc) · 792 Bytes
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
@echo off
echo --------- Valid Request ---------
echo.
curl -d @requests/valid.json localhost:2000
echo -------- Too Many Tokens --------
echo.
curl -d @requests/max_tokens.json localhost:2000
echo ------- Document Too Large ------
echo.
curl -d @requests/max_size.json localhost:2000
echo -------- Nesting Too Deep -------
echo.
curl -d @requests/max_depth.json localhost:2000
echo -------- String Too Large -------
echo.
curl -d @requests/max_string_length.json localhost:2000
echo --------- Key Too Large ---------
echo.
curl -d @requests/max_key_length.json localhost:2000
echo -------- Object Too Large -------
echo.
curl -d @requests/max_object_size.json localhost:2000
echo -------- Array Too Large --------
echo.
curl -d @requests/max_array_size.json localhost:2000