Replies: 4 comments
-
Hello @meleyal, and thanks for suggesting this! I'm really not sure, but it... should be possible? Just to confirm, you're imagining a CSV file that looks like this, correct?
And then you'd configure the Insomnia request like this, right? I believe that it would be necessary to create another tag, like there's the Batch tag now. This new tag would behave like the current Batch tag, but it would have to dynamically replace itself with the contents of the file whose path is contained in the CSV cell. I'll get working on it when I get some time |
Beta Was this translation helpful? Give feedback.
-
@jreyesr yes, exactly! |
Beta Was this translation helpful? Give feedback.
-
@meleyal I've released you'd configure the tag like this (notice that the Function to Perform, above, is The request may look like this: Since that template tag is configured to point to the There's more info here: https://github.com/jreyesr/insomnia-plugin-batch-requests?tab=readme-ov-file#sending-files Feel free to experiment with the new version, and report any problems that you find. I think you can update an installed plugin by trying to "install" it on |
Beta Was this translation helpful? Give feedback.
-
@jreyesr thanks, this works great 👍 |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to take a local file path and use this to attach a file to a multipart/form-data request?
Beta Was this translation helpful? Give feedback.
All reactions