WindmillWWindmill
Powered by
AronA
Windmill•3w ago•
6 replies
Aron

How does windmill recognize files in form-data?

Sending form-data payload to windmill webhook/http route, windmill automatically parses it and stores files as s3 objects.

I am using zoho forms for form submissions, and it seems zoho sends a
Content-Type
Content-Type
value for every field. Windmill parses all the fields as files.

Testing with postman, windmill behaves correctly.

Comparing the two payloads, postman does not pass a
Content-Type
Content-Type
value for non-file fields.

How does windmill determine, if a form-data field is actually a file or not? It looks like files are determined by the
Content-Type
Content-Type
, not by the
filename
filename
property.


Apparently, I don't get the raw_string for form_data inputs. Is there a way, I could preprocess the form-data payload to delete the
Content_Type
Content_Type
for non-file fields?
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Pulling log files into windmill UI
sprinkleSsprinkle / help
15mo ago
PowerShell in Windmill: Data Passing Through For Loops
typera5Ttypera5 / help
2y ago
How to use ffmpeg in windmill ?
ym1198Yym1198 / help
3y ago
How to serve Windmill in a path?
jase64Jjase64 / help
14mo ago