hurl/integration/tests_ok/querystring_params.hurl

31 lines
543 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
GET http://localhost:8000/querystring-params
[QueryStringParams]
param1: value1
param2:
param3: a=b
param4: 1,2,3
2022-12-01 15:28:08 +03:00
$top: 5
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
# same version as raw
2022-12-01 15:28:08 +03:00
GET http://localhost:8000/querystring-params?param1=value1&param2=&param3=a%3db&param4=1,2,3&$top=5
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
# combine version
GET http://localhost:8000/querystring-params?param1=value1
[QueryStringParams]
param2:
param3: a=b
param4: 1,2,3
2022-12-01 15:28:08 +03:00
$top:5
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
# encoding slash
GET http://localhost:8000/querystring-params-encoded?value1=/&value2=%2F
[QueryStringParams]
value3:/
2022-11-11 16:25:00 +03:00
HTTP 200