{"id":16409608,"url":"https://github.com/fjogeleit/http-request-action","last_synced_at":"2026-01-29T15:00:54.285Z","repository":{"id":37534585,"uuid":"242669075","full_name":"fjogeleit/http-request-action","owner":"fjogeleit","description":"Create HTTP Requests in GitHub Actions","archived":false,"fork":false,"pushed_at":"2026-01-26T19:07:38.000Z","size":741,"stargazers_count":301,"open_issues_count":4,"forks_count":78,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-26T23:12:40.437Z","etag":null,"topics":["api-client","http-client","request","rest-client"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fjogeleit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-24T07:05:43.000Z","updated_at":"2026-01-23T16:19:07.000Z","dependencies_parsed_at":"2024-01-01T19:26:04.905Z","dependency_job_id":"b3d3fd2d-41e6-4e3b-921f-cd46cec3af25","html_url":"https://github.com/fjogeleit/http-request-action","commit_stats":{"total_commits":135,"total_committers":18,"mean_commits":7.5,"dds":0.674074074074074,"last_synced_commit":"bc28d96e053fa5bbb57209244002b857f6911bcd"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/fjogeleit/http-request-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjogeleit%2Fhttp-request-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjogeleit%2Fhttp-request-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjogeleit%2Fhttp-request-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjogeleit%2Fhttp-request-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fjogeleit","download_url":"https://codeload.github.com/fjogeleit/http-request-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjogeleit%2Fhttp-request-action/sbom","scorecard":{"id":402138,"data":{"date":"2025-08-11","repo":{"name":"github.com/fjogeleit/http-request-action","commit":"5706faf3f3bb980181079d7e49fccc0eb7acd73d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Maintained","score":6,"reason":"8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/build-action.yml:13","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci.yml:16","Warn: no topLevel permission defined: .github/workflows/build-action.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/it-tests.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":9,"reason":"dependency not pinned by hash detected -- score normalized to 9","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-action.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/fjogeleit/http-request-action/build-action.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-action.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/fjogeleit/http-request-action/build-action.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/fjogeleit/http-request-action/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/fjogeleit/http-request-action/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/fjogeleit/http-request-action/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/fjogeleit/http-request-action/ci.yml/main?enable=pin","Info:  13 out of  19 GitHub-owned GitHubAction dependencies pinned","Info:  17 out of  17 third-party GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":0,"reason":"dangerous workflow patterns detected","details":["Warn: script injection with untrusted input ' github.event.pull_request.head.ref ': .github/workflows/ci.yml:20"],"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T20:19:07.830Z","repository_id":37534585,"created_at":"2025-08-18T20:19:07.830Z","updated_at":"2025-08-18T20:19:07.830Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28838543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","http-client","request","rest-client"],"created_at":"2024-10-11T06:20:34.992Z","updated_at":"2026-01-29T15:00:54.249Z","avatar_url":"https://github.com/fjogeleit.png","language":"JavaScript","readme":"# HTTP Request Action\n\n**Create HTTP Requests from GitHub Actions.** This action allows GitHub events to engage with tools like Ansible AWX that use HTTP APIs.\n\n### Example\n```yaml\njobs:\n  deployment:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Deploy Stage\n      uses: fjogeleit/http-request-action@v1\n      with:\n        url: 'https://ansible.io/api/v2/job_templates/84/launch/'\n        method: 'POST'\n        username: ${{ secrets.AWX_USER }}\n        password: ${{ secrets.AWX_PASSWORD }}\n        customHeaders: '{\"Content-Type\": \"application/json\"}'\n        data: '{\"key_1\": \"value_1\", \"key_2\": \"value_2\"}'\n```\n\n### Versioning\n\n`master` branch is deprecated. Please use `main` or `v1` to get the latest version of this action. It is recommended to use a fixed version.\n\n### Request Configuration\n\n|Argument|  Description  |  Default  |\n|--------|---------------|-----------|\n|url     | Request URL   | _required_ Field |\n|method  | Request Method| POST |\n|contentType  | Request ContentType| application/json |\n|data    | Request Body Content:\u003cbr\u003e- text content like JSON or XML\u003cbr\u003e- key=value pairs separated by '\u0026' or JSON data and contentType: application/x-www-form-urlencoded\u003cbr\u003e\u003cbr\u003eonly for POST / PUT / PATCH Requests | '{}' |\n|files    | Map of key / absolute file paths send as multipart/form-data request to the API, if set the contentType is set to multipart/form-data, values provided by data will be added as additional FormData values, nested objects are not supported. **Example provided in the _test_ Workflow of this Action** | '{}' |\n|file    | Single absolute file path send as `application/octet-stream` request to the API, if set the contentType is set to `application/octet-stream`. This input will be ignored if either `data` or `files` input is present. **Example provided in the _test_ Workflow of this Action** ||\n|timeout| Request Timeout in ms | 5000 (5s) |\n|username| Username for Basic Auth ||\n|password| Password for Basic Auth ||\n|bearerToken| Bearer Authentication Token (without Bearer Prefix) ||\n|customHeaders| Additional header values as JSON string, keys in this object overwrite default headers like Content-Type |'{}'|\n|escapeData| Escape newlines in data string content. Use 'true' (string) as value to enable it ||\n|preventFailureOnNoResponse| Prevent this Action to fail if the request respond without an response. Use 'true' (string) as value to enable it ||\n|ignoreStatusCodes| Prevent this Action to fail if the request respond with one of the configured Status Codes. Example: '404,401' ||\n|httpsCA| Certificate authority as string in PEM format ||\n|httpsCert| Client Certificate as string ||\n|httpsKey| Client Certificate Key as string ||\n|responseFile| Persist the response data to the specified file path ||\n|maskResponse| If set to true, the response will be masked in the logs of the action |'false'|\n|retry| optional amount of retries if the request is failing, does not retry if the status code is ignored ||\n|retryWait| time between each retry in millseconds | 3000 |\n|ignoreSsl| ignore ssl verify (rejectUnauthorized: false) | false |\n\n### Response\n\n| Variable |  Description  |\n|---|---|\n`response` | Response as JSON String\n`headers` | Headers\n`status` | HTTP status message\n\nTo display HTTP response data in the GitHub Actions log give the request an `id` and access its `outputs`. You can also access specific field from the response data using [fromJson()](https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson) expression.\n\n```yaml\nsteps:\n  - name: Make Request\n    id: myRequest\n    uses: fjogeleit/http-request-action@v1\n    with:\n      url: \"http://yoursite.com/api\"\n  - name: Show Response\n    run: |\n      echo ${{ steps.myRequest.outputs.response }}\n      echo ${{ steps.myRequest.outputs.headers }}\n      echo ${{ steps.myRequest.outputs.status }}\n      echo ${{ fromJson(steps.myRequest.outputs.response).field_you_want_to_access }}\n```\n\n### Additional Information\n\nAdditional information is available if debug logging is enabled:\n- Instance Configuration (Url / Timeout / Headers)\n- Request Data (Body / Auth / Method)\n\nTo [enable debug logging in GitHub Actions](https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging) create a secret `ACTIONS_RUNNER_DEBUG` with a value of `true`\n\n#### Local Usage\n\n* You can execute this tool locally with the provided CLI `bin/http-action`.\n\n```bash\nbin/http-action --help                   \nPositionals:\n  url  request URL                                                     [string]\n\nOptionen:\n      --help           helper text                                     [boolean]\n  -d, --data           request body data                               [string] [default: \"{}\"]\n  -f, --files          request files, send as multipart/form-data      [string] [default: \"{}\"]\n      --file           single file, send as application/octet-stream   [string]\n  -h, --customHeaders  custom request headers                          [string] [default: \"{}\"]\n  -m, --method         request method (GET, POST, PATCH, PUT, DELETE)  [string] [default: \"POST\"]\n  -t, --contentType    request content type                            [string] [default: \"application/json\"]\n      --bearerToken    bearer token without Bearer prefix, added as\n                       Authorization header                            [string]\n      --timeout        request timeout                                 [number] [default: 5000]\n```\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjogeleit%2Fhttp-request-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffjogeleit%2Fhttp-request-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjogeleit%2Fhttp-request-action/lists"}