Skip to content

Uploading files through multipart. #209

@SeanOMik

Description

@SeanOMik

I'm working on my DisC++ lib and I think I got all the basic http methods done. I just need to work on uploading files. Discord does this via a multipart form.

You did give me an example in an earlier issue, which I was able to track down. But it doesn't really help me much.

In that method you use miniDumpBytes which is a string, how would I get the minidump bytes for the files from an ifstream? And what about sending multiple files in one request? If you want to look at the documentation on sending files, its here.

Thanks for reading!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions