actionsflow/Axios Action
Make a request based on axios
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The target url | — | — |
| method | The request method, basically one of GET, POST, PUT, PATCH | — | GET |
| accept | List of status codes to be accepted, else it is considerred to be failed | — | 200,201,204 |
| headers | Headers object | — | — |
| content-type | Content-Type, if data is json string, th default value will be application/json | — | — |
| params | Params object | — | — |
| data | body string, can be json string | — | — |
| body | alisa of data, body string, can be json string | — | — |
| timeout | timeout (millisec) | — | 0 |
| basic-auth | Basic authentication, format => username:password | — | — |
| bearer-token | Bearer Token | — | — |
| proxy-url | Proxy host, format => host:port | — | — |
| proxy-auth | Proxy authentication, format => username:password | — | — |
| is_debug | show debug message of response | — | false |
| retry | — | — | 1/1 |
| custom-config | custom config | — | — |
Outputs
| name | description |
|---|---|
| data | The response data, type: string |
| headers | The response headers, type: json string |
| status | The response status code |