Skip to content

Commit

Permalink
Add delete method support
Browse files Browse the repository at this point in the history
  • Loading branch information
Satak committed Dec 4, 2019
1 parent bd53d8a commit 1cd1034
Show file tree
Hide file tree
Showing 5 changed files with 11,165 additions and 11,146 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ with:
## Inputs
| Parameter | Required | Info |
| ---------- | -------- | -------------------------------------------------- |
| `url` | `true` | Web request URL endpoint |
| `method` | `true` | Web request method (`GET`, `POST`, `PUT`, `PATCH`) |
| `payload` | `false` | Web request payload in JSON format |
| `headers` | `false` | Web request headers in JSON format |
| `username` | `false` | Basic auth username |
| `password` | `false` | Basic auth password |
| Parameter | Required | Info |
| ---------- | -------- | ------------------------------------------------------------ |
| `url` | `true` | Web request URL endpoint |
| `method` | `true` | Web request method (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`) |
| `payload` | `false` | Web request payload in JSON format |
| `headers` | `false` | Web request headers in JSON format |
| `username` | `false` | Basic auth username |
| `password` | `false` | Basic auth password |

## Outputs

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
description: 'Web request URL endpoint'
required: true
method:
description: 'Web request method (`GET`, `POST`, `PUT`, `PATCH`)'
description: 'Web request method (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`)'
required: true
default: GET
payload:
Expand Down
1 change: 1 addition & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ncc build index.js
Loading

0 comments on commit 1cd1034

Please sign in to comment.