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

Update/Fix form-data/x-www-form-urlencoded snippets #4

Merged
merged 14 commits into from
Mar 28, 2022

Conversation

saharbechor
Copy link

@saharbechor saharbechor commented Mar 23, 2022

updated and fixed some HTTP snippets, especially with media types of application/form-data(with files) and x-www-form-urlencoded.

Done:

checkIfRequestContainsFile general helper,
use URLSearchParams for x-www-form-urlencoded,
consistent code for node/js axios and fetch
src/helpers/general.js Show resolved Hide resolved
src/helpers/params.js Show resolved Hide resolved
src/helpers/params.js Outdated Show resolved Hide resolved
src/helpers/params.js Outdated Show resolved Hide resolved
src/helpers/params.js Outdated Show resolved Hide resolved
constructAppendedParamsCode same "append" method + options argument
mocharc file(to take only spec files)
check constructAppendedParamsCode test code result string
@saharbechor saharbechor merged commit fbaed97 into master Mar 28, 2022
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

Successfully merging this pull request may close these issues.

3 participants