risoflora / brookframework

Microframework which helps to develop web Pascal applications.
https://risoflora.github.io/brookframework
GNU Lesser General Public License v2.1
233 stars 54 forks source link

Support HTML multipart/form-data form submit #22

Closed Beanv587 closed 3 years ago

Beanv587 commented 3 years ago

Hello

I am using Delphi 10.2 in the Examples of httpuploads. I tested it and found that it seemed to support only files, not text。。

For example, I added < input type = "text" name = "user" >, but I couldn't get the value of user in the DoRequest event. aa

ARequest.Params seems that only supported forms with the application / x-www-form-urlencoded attribute。

How can I get the value of user?

Thank you

silvioprog commented 3 years ago

Hi @Beanv587.

Now the examples for uploading files were updated for how to handle uploads and fields simultaneously, please take a look at them. 🙂

cheers

Beanv587 commented 3 years ago

Hi @Beanv587.

Now the examples for uploading files were updated for how to handle uploads and fields simultaneously, please take a look at them. 🙂

cheers

@silvioprog

OK,thank you very much