Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Example of form with several fields and a binary file #8

Closed
vbocan opened this issue Dec 21, 2022 · 1 comment
Closed

Example of form with several fields and a binary file #8

vbocan opened this issue Dec 21, 2022 · 1 comment

Comments

@vbocan
Copy link

vbocan commented Dec 21, 2022

As of now, the example shows how to handle a multipart form that has just one text field:
#[derive(MultipartForm)] struct Upload { text: Text<String>, }
Could you please update the example or create a new one showing how to handle a form that has several text fields and a binary file? This is the typical example of a user using a form to submit some information alongside a binary file.
@jacob-pro, this is valuable work, should be pulled into the official actix web multipart package.

@jacob-pro
Copy link
Owner

Completed in #9

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

No branches or pull requests

2 participants