Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

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

Open
ansonliao opened this issue Mar 5, 2021 · 1 comment
Open

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

ansonliao opened this issue Mar 5, 2021 · 1 comment

Comments

@ansonliao
Copy link

ansonliao commented Mar 5, 2021

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

@ansonliao ansonliao changed the title [Question] How to send form-data? [Question] How to send form-data (not file, it's string)? Mar 5, 2021
@ansonliao
Copy link
Author

@kylef
Can you help with this issue? thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant