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

[Feature Request]: Allow comments in JSON request bodies #186

Open
1 task done
TheBitShepherd opened this issue Aug 28, 2024 · 1 comment
Open
1 task done

[Feature Request]: Allow comments in JSON request bodies #186

TheBitShepherd opened this issue Aug 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TheBitShepherd
Copy link

TheBitShepherd commented Aug 28, 2024

What happened?

It would be convenient if comments were permitted in JSON request bodies. Often, there are scenarios where a request body might have many different permutations that make inefficient to create a single request for each one. Instead, allowing users to be able to comment out a portion of the request body would be quite useful.

Steps to reproduce?

  1. Launch the app
  2. Find your favorite endpoint that accepts POST or PATCH and include a comment in the request body.

Example

{
    // "foo": "baz",
    "foo": "bar"
}

What did you expect to happen?

It would be nice if HTTPie Desktop allowed the above request body to be sent as:

{ 
    "foo": "bar"
}

Platform

macOS

HTTPie Desktop version

2024.1.2

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@TheBitShepherd TheBitShepherd added the bug Something isn't working label Aug 28, 2024
@aaclarker
Copy link

I would love this. This feature is the last reason I'm still using Postman in my workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants