apiaryio/dredd

[Question] How to send form-data (not file, it's string)?

ansonliao opened this issue · 1 comments

Dear sir,
My dredd version is 14.0.0,
I am working on sending the form-data in testing, from the Dredd document, I didn't find any hooks sample in JavaScript.

My try this API request in PostMan and get the successful result, as below, no no idea how to write the hooks before in JavaScript for the form-data and non-file type (https://dredd.org/en/latest/how-to-guides.html#hooks), could you kindly help to provide some samples of code?

Thanks

image

image

@kylef
Can you help with this issue? thanks.