hurl/integration/tests_ok/form_params.hurl

20 lines
345 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
POST http://localhost:8000/form-params
[FormParams]
param1: value1
param2:
param3: a=b
param4: a%3db
2022-01-22 22:19:15 +03:00
values\u{5b}0\u{5d}: 0
values[1]: 1
2020-08-27 10:07:46 +03:00
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
# same version as raw
POST http://localhost:8000/form-params
Content-Type: application/x-www-form-urlencoded
2022-12-02 22:50:27 +03:00
`param1=value1&param2=&param3=a%3db&param4=a%253db&values[0]=0&values[1]=1`
2020-08-27 10:07:46 +03:00
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00