Releases: fjogeleit/http-request-action
Releases · fjogeleit/http-request-action
Support newline escaping
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
Update @actions/core and axios
Fix customHeaders
v1.4.1 Fix removed config
New InputOption: "preventFailureOnNoResponse"
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
Fix Error Message conversion
convert error text from JSON into string by setting it as output
Improved Error Handling
Fixes #6
Give detailed information about the error instead of unhandled promise rejection error
Fix Bearer Authorization Header
Merge pull request #5 from fjogeleit/fix-bearer-token-header Fix Header Name for Bearer Authorization
Improved Debug Mode
Add additional debug output for debugging
Add workflow tests
Fix set empty basicHTTP Auth config
Fix #2
Only add basicHTTP auth when configured