Julian Sauer
02/28/2024, 2:00 PMContent-Type: multipart/form-data; boundary=---------------------------974767299852498929531610575
-----------------------------974767299852498929531610575
Content-Disposition: form-data; name="username"
JohnDoe
-----------------------------974767299852498929531610575
Content-Disposition: form-data; name="password"
secret123
and would like to include the "JohnDoe" in the response. The documentation mentions a way of accessing formData:
{{formData request.body 'form' urlDecode=true}}{{{form.formField3}}
but I don't know what to set the parameters to. Is this supported?Tom
02/28/2024, 3:38 PMformData
helper is just for URL encoded form data (k=v& style), not multipart at the moment.
Unfortunately this means you’re limited to regexes as a way of extracting multiparts.Julian Sauer
02/28/2024, 3:47 PM