Skip to content

Commit

Permalink
Add HTTP multipart example
Browse files Browse the repository at this point in the history
Signed-off-by: Arash Hatami <[email protected]>
  • Loading branch information
hatamiarash7 committed Aug 27, 2023
1 parent ffd677e commit e76f9c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e76f9c3

Please sign in to comment.