diff options
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/apiTargetRunHTTP_withTargetHeaders_test.txt | 8 | ||||
| -rw-r--r-- | testdata/target_http_run_formkindfile_test.txt | 4 | ||||
| -rw-r--r-- | testdata/target_http_run_withrawbody_json_test.txt | 4 |
3 files changed, 8 insertions, 8 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": { diff --git a/testdata/target_http_run_formkindfile_test.txt b/testdata/target_http_run_formkindfile_test.txt index 8925406..9dbf1ba 100644 --- a/testdata/target_http_run_formkindfile_test.txt +++ b/testdata/target_http_run_formkindfile_test.txt @@ -7,8 +7,8 @@ Test data for testing running HTTP with form kind is file (uploading file). }, "HTTPTarget": { "id": "http_upload", - "Method": 6, - "RequestType": 3, + "Method": "POST", + "RequestType": "form-data", "Path": "/example/upload", "Params": { "file": { diff --git a/testdata/target_http_run_withrawbody_json_test.txt b/testdata/target_http_run_withrawbody_json_test.txt index 9c23ba2..04f2fb9 100644 --- a/testdata/target_http_run_withrawbody_json_test.txt +++ b/testdata/target_http_run_withrawbody_json_test.txt @@ -7,8 +7,8 @@ Test data for testing [HTTPTarget.WithRawBody]. }, "HTTPTarget": { "id": "http_rawbody_json", - "Method": 6, - "RequestType": 4, + "Method": "POST", + "RequestType": "json", "Path": "/example/rawbody/json", "RawBody": "eyJpZCI6MSwibmFtZSI6ImdvcmFua3VzdSJ9", "WithRawBody": true |
