aboutsummaryrefslogtreecommitdiff
path: root/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-03-15 15:19:01 +0700
committerShulhan <ms@kilabit.info>2024-03-15 15:19:01 +0700
commitc358921275fb6c847ed6f9a266712fb1b3488c07 (patch)
tree0d0595eb9e34a74fbb51a29aba631a9ed38a698a /testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
parent8ba25dd9f5d823a4bd66967b33ee9d2624397129 (diff)
downloadgorankusu-c358921275fb6c847ed6f9a266712fb1b3488c07.tar.xz
all: update module pakakeh.go to the tip
On the "lib/http" we refactoring RequestMethod and RequestType type from int to string for readability, when the value is encoded, for example to JSON. So instead of 0, 1 or 2; it will print "GET", "CONNECT", or "HEAD".
Diffstat (limited to 'testdata/apiTargetRunHTTP_withTargetHeaders_test.txt')
-rw-r--r--testdata/apiTargetRunHTTP_withTargetHeaders_test.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt b/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
index 57fe246..8f78775 100644
--- a/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
+++ b/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
@@ -13,8 +13,8 @@ Test data for running HTTP target with global headers.
},
"HTTPTarget": {
"id": "http_get",
- "Method": 0,
- "RequestType": 1,
+ "Method": "GET",
+ "RequestType": "query",
"Path": "/example",
"Params": {
"Param1": {
@@ -82,8 +82,8 @@ Content-Type: application/json
},
"HTTPTarget": {
"id": "http_get",
- "Method": 0,
- "RequestType": 1,
+ "Method": "GET",
+ "RequestType": "query",
"Path": "/example",
"Headers": {
"Authorization": {