muhfaris/API Request Action
Perform HTTP API requests in GitHub Actions to interact with external services and capture responses.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Stalelast commit Sep 21, 2023
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: muhfaris/request-action@e9c380f048db96e11665fbb8edabf795e269ff7f # v0.1.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The URL of the API you want to make a request to | yes | — |
| headers | A JSON-formatted string containing the headers to include in the request | — | {"Content-Type": "application/json"} |
| body | The request body data (if applicable). | — | — |
| method | The HTTP method to use for the request (default is POST if not specified). | — | POST |
Outputs
| name | description |
|---|---|
| response-status | The HTTP status code of the API response |
| response-data | The JSON-formatted response data from the API |