Forum Discussion
So I've done a little more testing on this and noticed something:
I added a new field to the form:
<input type="text" name="image.title" value="The light is green" />
and I commented out the "file" input field.
Submitting the new form to the endpoint I found that the new field is also not found. So I removed the form's enctype attribute and resubmitted the form and the image.title parameter is now found and shows the correct data. So it appears that the multipart/form-data enctype is confusing the endpoint (or at least http.request.parameters). Any thoughts on this?
Cheers,
Tripp
Unfortunately we don't have the support right now in our customization layer to read files from multipart/form-data requests. I'd like to encourage you to submit a product idea for this -- I'll vote for it, because this there should be support for this.
Related Content
- 2 years ago
- 13 years ago