-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Feature/add raw file request body option #2755
base: main
Are you sure you want to change the base?
Feature/add raw file request body option #2755
Conversation
…n in request dropdown.
…ecting a file to display.
… it can be saved.
This PR addresses #2700 |
Hey @zachary-berdell-elliott, thank you for taking the time to implement this feature! Since the PR is quite extensive, we need some time to review and test it. |
Hi @sanjai0py, thanks for taking the time to review this PR. It's good to have a second set of eyes on it. Let me know if you observe any issues with it. I'm willing to make corrections. |
…thub.com/zachary-berdell-elliott/bruno into feature/add-raw-file-request-body-option
packages/bruno-app/src/components/RequestPane/RawFileParams/index.js
Outdated
Show resolved
Hide resolved
…dex.js Co-authored-by: Sanjai Kumar <[email protected]>
Co-authored-by: Sanjai Kumar <[email protected]>
Co-authored-by: Sanjai Kumar <[email protected]>
Co-authored-by: Sanjai Kumar <[email protected]>
Hi @sanjai0py, Just committed all your suggestions. Good catches there. |
Description
This PR adds the ability for a user to set a raw file as the request body. A user is able to select the option raw file and send a request this way. Raw file is stored as a string of the file path and fs library is used to get the file from the path then set it to the file.
Not added with this:
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.