← Back to Discord Forum

Multipart request parts ordered?

cserby_02195posted in #help-playwright
Open in Discord

Hi, I'm facing a problem sending multipart requests using APIRequestContext. The server side (https://www.npmjs.com/package/graphql-upload) requires the parts to be in a certain order, but Playwright seems to be ordering them... Can I do anything in order to prevent this behavior?

This thread is trying to answer question "Is there a way to prevent Playwright from ordering the parts of a multipart request, or is there an option to pass a FormData instance to APIRequestContext.post?"

1 reply

Would there be an option to pass a FormData (https://developer.mozilla.org/en-US/docs/Web/API/FormData) instance to APIRequestContext.post? 🤔

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.