mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-19 00:22:10 +03:00
44 lines
713 B
Plaintext
44 lines
713 B
Plaintext
GET http://localhost:8000/hello
|
|
|
|
GET http://localhost:8000/custom-headers
|
|
Fruit: Raspberry
|
|
Fruit: Apple
|
|
Fruit: Banana
|
|
Fruit: Grape
|
|
Color: Green
|
|
|
|
POST http://localhost:8000/post-json
|
|
Content-Type: application/json
|
|
```
|
|
{
|
|
"name": "Bob",
|
|
"password": "&secret\\'<>",
|
|
"age": 30,
|
|
"strict": true,
|
|
"spacing": "\n",
|
|
"g_clef": "\uD834\uDD1E",
|
|
"items": [true, "true", 1],
|
|
"variable": "\\"
|
|
}
|
|
```
|
|
|
|
POST http://localhost:8000/post-file
|
|
Content-Type:
|
|
file,tests_ok/data.bin;
|
|
|
|
GET http://localhost:8000/redirect-absolute
|
|
[Options]
|
|
location: true
|
|
|
|
GET http://localhost:8000/retry/until-200
|
|
[Options]
|
|
retry: 4
|
|
HTTP *
|
|
[Asserts]
|
|
status < 500
|
|
|
|
GET https://localhost:8001/hello
|
|
[Options]
|
|
insecure: true
|
|
|