mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2024-11-25 05:10:57 -05:00
Merge branch 'main' of github.com:fjogeleit/http-request-action
This commit is contained in:
commit
86014825e9
1 changed files with 16 additions and 0 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
@ -145,3 +145,19 @@ jobs:
|
||||||
url: 'https://postman-echo.com/post'
|
url: 'https://postman-echo.com/post'
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
file: "${{ github.workspace }}/testfile.txt"
|
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"}'
|
||||||
|
|
Loading…
Reference in a new issue