| Crates.io | acts-package-http |
| lib.rs | acts-package-http |
| version | 0.17.2 |
| created_at | 2025-06-06 12:20:38.78293+00 |
| updated_at | 2025-06-07 13:42:40.057987+00 |
| description | acts package for http request |
| homepage | https://docs.rs/acts-package-http |
| repository | https://github.com/yaojianpin/acts.git |
| max_upload_size | |
| id | 1702953 |
| size | 94,898 |
The acts http package plugin for acts.
cargo add acts-package-http
use acts::EngineBuilder;
use acts_package_http::HttpPackagePlugin;
#[tokio::main]
async fn main() {
let engine = EngineBuilder::new()
.add_plugin(&HttpPackagePlugin)
.build()
.start();
}
name: http example
id: http-example
inputs:
key1: 1
key2: 2
steps:
- name: http step
acts:
- uses: acts.core.http
params:
url: http://127.0.0.1:1234/hello
method: GET
# params from workflow.inputs
params:
- key: key1
value: '{{ key1 }}'
- key: key2
value: '{{ key2 }}'
- uses: acts.core.http
params:
url: http://127.0.0.1:1234/world
method: POST
content-type: json
# body data from prev http response data
body:
data: '{{ $inputs().data }}'