Skip to content

Releases: fjogeleit/http-request-action

Single File upload

11 Feb 11:35
d45f664
Compare
Choose a tag to compare

Dependency Update

16 Jan 16:31
a6980b2
Compare
Choose a tag to compare

Update follow-redirects
Update NodeJS to v16

Dependency Update

09 Sep 12:44
Compare
Choose a tag to compare

Update axios to 0.21.4
Update form-data to 4.0.0

Ignore StatusCodes

19 Mar 16:31
0929a0c
Compare
Choose a tag to compare
  • New option ignoreStatusCodes to prevent action to fail if API respond with a configured status code.
    • Accept a list of StatusCodes as string, e.g. '404,401'
    • Creates a warning message to see when a ignoredStatusCode was returned

Build v1.7.2 changes

19 Feb 11:52
Compare
Choose a tag to compare
v1.7.3

Build new version

Disable MaxContentLength and MaxBodyLength checks

19 Feb 10:37
7626a13
Compare
Choose a tag to compare

FileUpload Content-Type

24 Jan 12:54
Compare
Choose a tag to compare

Remove default contentType from actions.yaml, contentType will set to application/json if not provided anyway

Fix duplicated contentType in file upload requests

File Upload

24 Jan 12:15
b6bb4fa
Compare
Choose a tag to compare

Related to #19

Add a new property files to support File Uploads over multipart/form-data Request.

Content-Type will change to "multipart/form-data" independent of the provided configuration.

Values provided as JSON in the data property will be added as additional FormData values. Nested objects are not supported

Basic Example from the test Workflow

jobs:
  request:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Create Test File
        run: |
          echo "test" > testfile.txt

      - name: Request Postman Echo POST Multipart
        uses: fjogeleit/http-request-action@master
        with:
          url: 'https://postman-echo.com/post'
          method: 'POST'
          data: '{ "key": "value" }'
          files: '{ "file": "${{ github.workspace }}/testfile.txt" }'

Axios Update

05 Jan 18:00
Compare
Choose a tag to compare

axios update to v0.21.1

None JSON Body support

16 Dec 20:40
3a9531b
Compare
Choose a tag to compare
  • Add support for other Body ContentTypes like XML
  • Update axios to v0.21.0