1
0
mirror of synced 2025-07-17 17:40:57 +03:00
* Fix #1578

* Update README

* Update

* Update

* Update

* Update

* Update

* Update
This commit is contained in:
yhirose
2025-07-06 21:27:24 -04:00
committed by GitHub
parent a3f5569196
commit af73377611
5 changed files with 620 additions and 465 deletions

View File

@ -37,8 +37,8 @@ int main(void) {
});
svr.Post("/post", [](const Request &req, Response &res) {
auto image_file = req.get_file_value("image_file");
auto text_file = req.get_file_value("text_file");
const auto &image_file = req.form.get_file("image_file");
const auto &text_file = req.form.get_file("text_file");
cout << "image file length: " << image_file.content.length() << endl
<< "image file name: " << image_file.filename << endl