Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multipart/form-data #1115

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hatamiarash7
Copy link

Description

After this PR, we can send POST requests in multipart/form-data format. For example, users can test the upload process quickly.

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"

We can define text or file fields here.


Changes

  • Support multipart for HTTP probe
  • Update example file
  • Update configuration document

@hatamiarash7
Copy link
Author

any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant