June 16, 2021
9:32 p.m.
Hi Davide,
On 16 Jun 2021, at 23:17, Davide Varvello via Pharo-users <pharo-users@lists.pharo.org> wrote:
Hi Guys, I'm posting from an http form and I'm wondering how to read data from the post. It seems the request should give a ZnMultiPartFormDataEntity, but I can't find how to use it.
Can you help me please? Davide
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
It depends on how the form is posted (there are two approaches). A working example of both can be found in ZnDefaultServerDelegate>>#formTest2: and #formTest3: ZnServerTest>>#testFormTest2: and #testFormTest3: exercise this functionality Basically, you just take the entity from the request and use it. HTH, Sven