Skip to content

Releases: fjogeleit/http-request-action

Support newline escaping

07 Oct 16:31
0cc64a5
Compare
Choose a tag to compare

New option "escapeData" to fix unescaped newline errors in JSON Data

In cases where parts of your JSON Data comes from the GitHub events or other dynamic sources its possible that this content includes unescaped characters like newlines. For this cases you can use this new option to fix related parsing errors by escaping your JSON content inside of this action.

Update Dependencies

01 Oct 20:22
Compare
Choose a tag to compare

Update @actions/core and axios

Fix customHeaders

04 Aug 15:12
3634ea0
Compare
Choose a tag to compare
v1.4.1

Fix removed config

New InputOption: "preventFailureOnNoResponse"

30 Jul 16:33
b63e908
Compare
Choose a tag to compare

Closes #12

Prevent failure if no response is provided by the request

Usage:

jobs:
  request:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          ref: ${{ github.ref }}

      - name: Request Postment Echo GET
        uses: ./
        with:
          url: 'https://postman-echo.com/get'
          method: 'GET'
          preventFailureOnNoResponse: 'true'

Add mission action input

21 Jul 07:31
2ac119c
Compare
Choose a tag to compare

Fix Error Message conversion

19 Jul 08:11
Compare
Choose a tag to compare

convert error text from JSON into string by setting it as output

Improved Error Handling

08 Jun 18:01
Compare
Choose a tag to compare

Fixes #6

Give detailed information about the error instead of unhandled promise rejection error

Fix Bearer Authorization Header

06 May 18:46
5d7e3ef
Compare
Choose a tag to compare
Merge pull request #5 from fjogeleit/fix-bearer-token-header

Fix Header Name for Bearer Authorization

Improved Debug Mode

21 Apr 12:19
f7cd714
Compare
Choose a tag to compare

Add additional debug output for debugging
Add workflow tests

Fix set empty basicHTTP Auth config

21 Apr 11:32
Compare
Choose a tag to compare

Fix #2

Only add basicHTTP auth when configured