1
0
Fork 0
mirror of https://github.com/fjogeleit/http-request-action.git synced 2024-12-23 04:37:28 +00:00
Commit graph

48 commits

Author SHA1 Message Date
Frank Jogeleit
44816be1ea fix err not defined
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-06-04 21:21:22 +02:00
Frank Jogeleit
dea4657059 dep update
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-05-31 10:57:30 +02:00
Jeremy Turowetz
7d4a18ad25
Add status to outputs (#147)
* Add status to outputs

* add response.status info to readme

* build new version
2024-05-04 06:59:04 +02:00
Kittizz
ed8a1c36db
Add ignore ssl error (#145)
* add ignore ssl
* build and update docs
* keep the upstream formatting/indentation
2024-04-20 14:34:12 +02:00
Frank Jogeleit
8537e58734 fix retryWait mapping
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-06 13:22:18 +02:00
Frank Jogeleit
74e0e96181 update build
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-06 10:17:23 +02:00
Frank Jogeleit
bfbe4dd6af fix retry and ignore status response
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-06 09:53:11 +02:00
Frank Jogeleit
a665541d9c Upgrade to Node20
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-01-08 14:40:25 +01:00
Frank Jogeleit
c23f0d6631 revert conitional stringify which leads to breaking changes with older versions
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-12-19 09:12:54 +01:00
Frank Jogeleit
2d6a2f17dc mask response as secret if configured
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-12-17 15:41:37 +01:00
Frank Jogeleit
e1affb38cd dependency updates
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-11-20 21:40:45 +01:00
Frank Jogeleit
25fb88fa43 Add mTLS ClientCert support
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-08-10 10:55:12 +02:00
Frank Jogeleit
f62db86b8d dependency update
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-06-26 12:40:30 +02:00
Frank Jogeleit
394beeafea log customHeaders parse error
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-03-29 10:53:51 +02:00
Frank Jogeleit
e8dd067b83 adjust cli
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-03-07 11:00:52 +01:00
Frank Jogeleit
2e2dec74b5 retry requests
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-03-06 16:07:02 +01:00
Frank Jogeleit
2c712a0557 add persist handler
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2023-02-04 13:28:08 +01:00
uzlopak
b497d195dc use strict 2022-11-04 10:28:14 +01:00
Uzlopak
d00a8759d6
jsdoc: async functions should return Promise (#70)
* jsdoc: async functions should return Promise

* update dist/index.js

* improve ci

* run anyway

* update dist

* test if esbuild produces deterministic builds

* Update ci.yml

* Update ci.yml

* specify target to node16

* another try

* Check for empty dataJson

Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>

* build dist

Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>

* build latest

* modify test step

* avoid skipping

* go back to ncc

* add back github.ref

* remove  additional stuff

* build dist/index.js

Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
Co-authored-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2022-11-03 21:35:53 +01:00
Frank Jogeleit
05a08b70e2 build dist
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2022-11-03 20:46:35 +01:00
Frank Jogeleit
79a8b8af48
Merge pull request #62 from fjogeleit/url-encoded
Use URLSearchParams for application/x-www-form-urlencoded
2022-11-03 14:33:24 +01:00
uzlopak
a8bcd97403 reorder deps 2022-11-03 12:01:52 +01:00
Frank Jogeleit
50750c1420 Use URLSearchParams for application/x-www-form-urlencoded 2022-11-01 10:01:33 +01:00
Frank Jogeleit
2214f2de10 Fix undefined data for files
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2022-10-05 17:29:30 +02:00
Nick Hills
4cbc7a46b2
Adding ability to return headers without setting debug mode (#51)
* Update httpClient.js
* Update README.md
* Update action.yml

Co-authored-by: Nick Hills <nick.hills@valtech.com>
2022-08-17 09:56:02 +02:00
Frank Jogeleit
df00cdf429 Add input for custom CA
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2022-07-19 10:27:31 +02:00
Frank Jogeleit
e3313c1a5f Update Error Output
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2022-06-04 10:52:53 +02:00
Frank Jogeleit
046e838b3a
Dependency Update (#41)
Dependency Update
2022-03-04 11:20:10 +01:00
Nhan Nguyen
f683177370 Support single file upload 2022-02-10 10:14:07 +07:00
Frank Jogeleit
70ee000b97 Dependency Update
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2022-01-16 17:27:57 +01:00
Frank Jogeleit
8e939c608a dependency updates
Signed-off-by: Frank Jogeleit <fj@move-elevator.de>
2021-09-09 14:42:30 +02:00
Frank Jogeleit
0929a0c636
Ignored status codes (#26)
* Implement StatusCode ignore list
2021-03-19 17:28:53 +01:00
Frank Jogeleit
bd043fe286 Build new version 2021-02-19 12:51:47 +01:00
Frank Jogeleit
42677b964e Update FileUpload ContentType 2021-01-24 13:52:05 +01:00
Frank Jogeleit
b6bb4fa030
File upload (#20)
* Add Support for FileUpload
2021-01-24 13:14:13 +01:00
Frank Jogeleit
f91c5933c4 axios update 2021-01-05 18:57:45 +01:00
Frank Jogeleit
3a9531bb34
Dependency Update // Support none JSON Body (#17)
* Dependency Update // Support none JSON Body

* Specify action text case name
2020-12-16 21:37:11 +01:00
Frank Jogeleit
0cc64a5579
Support for unescaped newlines in data (#16)
* support newline escaping
2020-10-07 18:29:38 +02:00
Frank Jogeleit
81e44c2059 Update Dependencies 2020-10-01 22:20:08 +02:00
Frank Jogeleit
60ab747148 Split Action in multiple files to improve testing
Add a new InputOption to ignore a failure for no response receive
2020-07-30 18:27:27 +02:00
Frank
4e4ff2b320 convert error into string an mark build as failed 2020-07-19 10:04:58 +02:00
Frank
d3ea5fce44 Improve Request Error Handling 2020-06-08 19:59:37 +02:00
Frank
089a11111a Fix Header Name for Bearer Authorization 2020-05-06 20:43:17 +02:00
Frank
acd894b2e1 update readme 2020-04-21 14:16:49 +02:00
Frank
193a7dd98c update data payload 2020-04-21 13:55:30 +02:00
Frank
bd6ff9fa68 build actions 2020-04-21 13:30:34 +02:00
Frank
88637cb5c4 Update dist 2020-03-25 11:23:19 +01:00
Frank
df0f4b3bfd Init Action 2020-02-24 10:23:15 +01:00