2023-06-10 14:31:30 +03:00
< pre > < code class = "language-hurl" > < span class = "hurl-entry" > < span class = "request" > < span class = "line" > < / span > < span class = "comment" > # Only variables with scalar value (string, integer, ...) can be rendered in template< / span >
< span class = "line" > < span class = "method" > GET< / span > < span class = "url" > http://localhost:8000/get-list< / span > < / span >
2022-11-11 16:25:00 +03:00
< / span > < span class = "response" > < span class = "line" > < / span >
< span class = "line" > < span class = "version" > HTTP< / span > < span class = "number" > 200< / span > < / span >
2023-04-11 18:28:28 +03:00
< span class = "line" > < span class = "section-header" > [Captures]< / span > < / span >
2023-04-17 14:05:34 +03:00
< span class = "line" > < span class = "name" > list< / span > : < span class = "query-type" > jsonpath< / span > < span class = "string" > "$.values"< / span > < / span >
2021-09-21 07:36:53 +03:00
< / span > < / span > < span class = "hurl-entry" > < span class = "request" > < span class = "line" > < / span >
< span class = "line" > < span class = "method" > GET< / span > < span class = "url" > http://localhost:8000/undefined< / span > < / span >
2023-04-11 18:28:28 +03:00
< span class = "line" > < span class = "section-header" > [QueryStringParams]< / span > < / span >
2023-04-17 14:05:34 +03:00
< span class = "line" > < span class = "string" > param1< / span > : < span class = "string" > {{list}}< / span > < / span >
2022-11-11 16:25:00 +03:00
< / span > < span class = "response" > < span class = "line" > < span class = "version" > HTTP< / span > < span class = "number" > 200< / span > < / span >
2021-09-21 07:36:53 +03:00
< / span > < / span > < span class = "line" > < / span >
2022-10-24 12:37:11 +03:00
< / code > < / pre >