Skip to content

A better way of accessing form fields #1578

@bigbao9494

Description

@bigbao9494

A better way of accessing form fields

  1. Obtain the file uploaded through FormData in the interface [&] (const Request&/* req */, Response&res), and add some additional parameters, it's file_and_param.
  2. Golang has a similar processing interface that handles this issue well. All parameters are in req.params (just read directly), and all files are in req.files.
    req_test.zip

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions