Description
HTTP Request Action is a GitHub Action that sends HTTP requests from a GitHub workflow. It is meant for connecting GitHub events to tools that expose HTTP APIs, such as Ansible AWX. In a workflow step you set the URL, the method, the content type and the request body. The body can be JSON or other text, key=value pairs, multipart form data with files listed by absolute path, or a single binary file. You can also set a timeout, basic auth credentials and the other request options described in the README's table. The default method is POST and the default timeout is 5 seconds. The action is versioned, and the README recommends pinning a fixed version. The main branch and the v1 tag get the latest release, while the older master branch is deprecated. The README documents the response the action returns, and the repository includes a test workflow with examples for each body type.…
Highlights
- Send HTTP requests from GitHub Actions
- JSON, form, multipart and binary request bodies
- Configurable timeout and basic auth
- Pinnable versions, with main and v1 tracking the latest
- Built for APIs such as Ansible AWX
Ratings & Reviews
No ratings yet
Be the first to rate Http Request Action.
People also visit
DevTools
Local-first API workflows that go from HAR file to GitHub Actions in 60 seconds
Http Request Action FAQ
What is it for?
Calling an HTTP API from a GitHub workflow, for example to start an Ansible AWX job when a GitHub event happens.
Which version should I use?
The README recommends a fixed version. Main or v1 gives the latest release, and the master branch is deprecated.
What body formats are supported?
Text such as JSON or XML, key=value pairs for form data, multipart files set with a files map, and a single file sent as application/octet-stream.
What is the default timeout and method?
The default method is POST and the default timeout is 5000 ms, which can be changed with the timeout option. The data option applies only to POST, PUT and PATCH requests.
What are the best Http Request Action alternatives?
Popular alternatives to Http Request Action include DevTools, Manual Approval and SSH Action. See all Http Request Action alternatives








