multipart/form-data fails in test
# workers-help
s
Hi there -- I'm attempting to upload a file in a test to an endpoint with a mutlipart/form-data header. Note that this endpoint DOES work when hit directly via Postman, but I can't seem to get it to work in the test environment Would really appreciate the help Since the test runner is in a node.js environment, I'm using
form-data
to construct the payload. The test code below:

https://cdn.discordapp.com/attachments/1107390359266394135/1107390359383842969/Screenshot_2023-05-14_at_3.31.57_PM.png

https://cdn.discordapp.com/attachments/1107390359266394135/1107391251352915968/Screenshot_2023-05-14_at_3.31.47_PM.png