Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

how to use hyper send a multiple part http request #362

@xiaoxiaojuan

Description

@xiaoxiaojuan

for example my body is like below

I want to send one by one, for I want to send the json part and then the audio part and then the end boundary., and then get the response .

Not sure how to do it

------------------------------4ebf00fbcf09
Content-Disposition: form-data; name="metadata"
Content-Type: application/json; charset=UTF-8

{data}

------------------------------4ebf00fbcf09
Content-Disposition: form-data; name="audio"
Content-Type: application/octet-stream
audio data
------------------------------4ebf00fbcf09--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions