[Feature Request]: Allow comments in JSON request bodies
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?
- Launch the app
- Find your favorite endpoint that accepts
POSTorPATCHand 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
- [X] I agree to follow this project's Code of Conduct
I would love this. This feature is the last reason I'm still using Postman in my workflow
Any idea if this is something that will be looked into? @jkbrzt Would love this too.
This would be so helpful!
Any updates?