From e76f9c39e38613218b734de65fcdce1e2f9369db Mon Sep 17 00:00:00 2001 From: Arash Hatami Date: Sun, 27 Aug 2023 18:25:33 +0330 Subject: [PATCH] Add HTTP multipart example Signed-off-by: Arash Hatami --- example.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/example.yml b/example.yml index 5e887a54..49b0843e 100644 --- a/example.yml +++ b/example.yml @@ -54,6 +54,18 @@ modules: http: method: POST body_file: "/files/body.txt" + http_post_body_multipart: + prober: http + timeout: 5s + http: + method: POST + body_multipart: + - type: "file" + key: "file" + value: "/files/body.txt" + - type: "text" + key: "name" + value: "arash" http_basic_auth_example: prober: http timeout: 5s