thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.62k stars 127 forks source link

Body-Form post multiple #1444

Closed tanlucvn closed 6 months ago

tanlucvn commented 8 months ago

Question: Here is Form image

How can I post with postData..., in JSON its easy but cant upload attach. So Im using Form (above img) but idk how to post like this

image

{ "postData": { "boardId": "6589448d790b5a67eeb94b84", "title": "threadtitle", "body": "thread" }, "attach": [ { "item": "item1", "thumb": "" }, { "item": "item2", "thumb": "" } ] }

Are you using the free version/paid version/trial: free version

rangav commented 8 months ago

Hi @tanlucvn

try using readFile filter - https://github.com/rangav/thunder-client-support/blob/master/docs/filters.md#readFile