2023-07-04 19:37:50 +02:00
|
|
|
===
|
|
|
|
GET request
|
|
|
|
===
|
|
|
|
|
|
|
|
GET https://somewhere.com
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
2023-07-04 20:07:50 +02:00
|
|
|
(request_literal)
|
|
|
|
(url)))
|
2023-07-04 19:37:50 +02:00
|
|
|
|
|
|
|
===
|
2023-07-04 20:07:50 +02:00
|
|
|
POST request
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url)))
|
|
|
|
|
|
|
|
===
|
|
|
|
Headers
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
some: header
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url))
|
|
|
|
(header_declaration
|
|
|
|
(header_name)
|
|
|
|
(header_value)))
|
|
|
|
|
|
|
|
===
|
|
|
|
More Headers
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
some: header
|
2023-07-04 20:56:48 +02:00
|
|
|
A123a-123: someAasdfasdfasdfc123
|
2023-07-04 20:07:50 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url))
|
2023-07-04 20:56:48 +02:00
|
|
|
(header_declaration
|
|
|
|
(header_name)
|
|
|
|
(header_value))
|
|
|
|
(header_declaration
|
|
|
|
(header_name)
|
|
|
|
(header_value))
|
|
|
|
)
|
2023-07-04 20:07:50 +02:00
|
|
|
|
|
|
|
===
|
|
|
|
HTTP Status codes 200
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
|
|
|
|
HTTP 200
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url))
|
|
|
|
(response
|
|
|
|
(scheme_literal)
|
|
|
|
(status_code_pattern)))
|
|
|
|
|
|
|
|
===
|
|
|
|
HTTP Status codes 302
|
2023-07-04 19:37:50 +02:00
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
|
2023-07-04 20:07:50 +02:00
|
|
|
HTTP 302
|
2023-07-04 19:37:50 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
2023-07-04 20:07:50 +02:00
|
|
|
(request_literal)
|
|
|
|
(url))
|
|
|
|
(response
|
|
|
|
(scheme_literal)
|
|
|
|
(status_code_pattern)))
|
2023-07-04 20:56:48 +02:00
|
|
|
|
|
|
|
===
|
|
|
|
HTTP Status codes 302
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
Header: something
|
|
|
|
HTTP 302
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url))
|
|
|
|
(header_declaration
|
|
|
|
(header_name)
|
|
|
|
(header_value))
|
|
|
|
(response
|
|
|
|
(scheme_literal)
|
|
|
|
(status_code_pattern)))
|
2023-07-04 22:34:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
===
|
|
|
|
Request body json
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
{
|
|
|
|
"some-name": "some-value"
|
|
|
|
}
|
|
|
|
|
|
|
|
HTTP 302
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url))
|
|
|
|
(body
|
|
|
|
(json_request_declaration))
|
|
|
|
(response
|
|
|
|
(scheme_literal)
|
|
|
|
(status_code_pattern)))
|
2023-07-04 23:01:24 +02:00
|
|
|
|
|
|
|
===
|
|
|
|
Request text body
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"some-name": "some-value"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
HTTP 302
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url))
|
|
|
|
(body
|
|
|
|
(text_body_declaration))
|
|
|
|
(response
|
|
|
|
(scheme_literal)
|
|
|
|
(status_code_pattern)))
|
|
|
|
|
|
|
|
===
|
|
|
|
Request text body json
|
|
|
|
===
|
|
|
|
|
|
|
|
POST https://somewhere.com?query=something
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"some-name": "some-value"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
HTTP 302
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(request_declaration
|
|
|
|
(request_literal)
|
|
|
|
(url))
|
|
|
|
(body
|
|
|
|
(text_body_declaration))
|
|
|
|
(response
|
|
|
|
(scheme_literal)
|
|
|
|
(status_code_pattern)))
|