aboutsummaryrefslogtreecommitdiff
path: root/files/.vim/templates/=template=hurl
diff options
context:
space:
mode:
Diffstat (limited to 'files/.vim/templates/=template=hurl')
-rwxr-xr-xfiles/.vim/templates/=template=hurl11
1 files changed, 11 insertions, 0 deletions
diff --git a/files/.vim/templates/=template=hurl b/files/.vim/templates/=template=hurl
new file mode 100755
index 0000000..71554ea
--- /dev/null
+++ b/files/.vim/templates/=template=hurl
@@ -0,0 +1,11 @@
+#!/usr/bin/env -S hurl --test
+
+# GET http://localhost/api/method
+# [QueryStringParams]
+# filter: {{capture_value}}
+# HTTP 200
+# [Asserts]
+# jsonpath "$.content" count == 1
+# jsonpath "$.content[0].id" > 0
+# [Captures]
+# id: jsonpath "$.content[0].id"