Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant