indiesdev/cURL AxiosJS
cURL action to perform REST API 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 | — | — |
| params | Params object | — | — |
| body | Body object | — | — |
| timeout | timeout (millisec) | — | 1000 |
| basic-auth-token | Basic authentication token, format => username:password as base64 | — | — |
| bearer-token | Bearer Token | — | — |
| proxy-url | Proxy host, format => host:port | — | — |
| proxy-auth-token | Proxy authentication token, format => username:password as base64 | — | — |
| log-response | Should log the response | — | false |
| retries | retries number | — | 1 |
| custom-config | custom config | — | — |
Outputs
| name | description |
|---|---|
| response | The response object |