-
Notifications
You must be signed in to change notification settings - Fork 855
JSON beautify action in request body does not work when there are Postman variables #4313
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
Comments
+1 Facing a similar issue. 6.0.9 seems to be using 4 space indentation instead of the previous 2. |
Hi, |
Hi, sorry for the delay. Only sometimes, when I click on it, it is working. Thank you! |
@yishayn Can you share me a sample Json for which it is not working. That will really help in fixing this bug. |
Closing due to inactivity. |
Hi @prashantagarwal @preethammavin I think I was able to find the problem Root Cause Problem Description:
To reproduce the problem: Test-case 1: { If I will use the "CTRL+B" feature , { Test Case 2: The difference is that now the {{Test2}} variable need to be sent as Integer (without quotation marks ). { If I will use the "CTRL+B" feature , I hope now you will be able to reproduce. Use Case 3: If we talk about the original issue mention above is about the number of spaces you add in your automatic JSON Indentation feature. Lets take the same example below. { If I will use the "CTRL+B" feature , { As I mention, Perhaps you can make it configurable ? at the bottom right-side , Thank you. |
@yishayn Thank you for such detailed explanation. It really helped us in triaging this. I will see to it that we get this fixed soon. |
@prashantagarwal , |
This is fixed as part of |
Issue Report:
After upgrading form latest version 5 into postman 6.0.9
I noticed a change in the "CTRL+B", as followed:
See attached PDF to see screenshots to illustrate it.
CTRL+B , Steps To Reproduce.pdf
Note:
In addition , also in older versions ,
if you already have the request in good JSON format,
and you need to insert into it new rows which are not,
at this point, 'CTRL+B' is not doing anything.
In this case, I simply use online JSON Viewer to fix it.
Thanks.
The text was updated successfully, but these errors were encountered: