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

Would be nice to enable/disable body types besides the forms. #1587

Open
angrodm opened this issue Aug 13, 2024 · 1 comment
Open

Would be nice to enable/disable body types besides the forms. #1587

angrodm opened this issue Aug 13, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@angrodm
Copy link

angrodm commented Aug 13, 2024

Please describe feature/problem details and the solution you'd like.
The Form and Form-encode tabs of the Body section for a request allow you to enable/disable the individual fields. It would be nice to be able to have a checkbox on the other Tabs that provides the functionality for them. For example I have a large JSON body that is optional for a request I need to send. Sometimes I send the body, other times I do not. It would be nice if I could put the body in and just use a checkbox to enable or disable the entire JSON body.

Describe alternatives you've considered
I considered trying to write a script to set the body and using an environment variable to determine whether the Pre Run script sets the body or not. Other options I considered is having two requests, one with the body filled out, and another without the body. Lastly I considered adding the Body to the Docs setting so that I can quickly copy / paste it into the JSON tab when I need the body and delete it when I don't.

Are you using the free version/paid version/trial:
I am using the free version.

@angrodm angrodm added the feature request New feature or request label Aug 13, 2024
@rangav
Copy link
Collaborator

rangav commented Aug 21, 2024

Thanks @angrodm for the feedback, Will review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants