From cc3aff9cbee7c0936884de684597c17c4fcc594f Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Mon, 7 Nov 2022 11:08:34 +0100 Subject: [PATCH] Testcases for URLEncoded contentType --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1267071..0da2086 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,3 +145,19 @@ jobs: url: 'https://postman-echo.com/post' method: 'POST' file: "${{ github.workspace }}/testfile.txt" + + - name: Request Postman Echo POST URLEncoded string data + uses: ./ + with: + url: 'https://postman-echo.com/post' + contentType : 'application/x-www-form-urlencoded' + method: 'POST' + data: 'key=value' + + - name: Request Postman Echo POST URLEncoded json data + uses: ./ + with: + url: 'https://postman-echo.com/post' + contentType : 'application/x-www-form-urlencoded' + method: 'POST' + data: '{"key":"value"}'