Is it possible to show JSON response in run command window as Pretty JSON with line breaks?

Hi,

 

I am currently using IntelliJ Idea future that allows writing http requests in code and then gets executed in the Run Command Window. 


My example request:

filename.http

http://localhost:8080/v0/GetRecord/2305
Accept: application/json

 

 

Adding the `Accept` header got Idea to attempt printing the output with colours but no line breaks.  Is it possible to show JSON response in run command window as Pretty JSON with line breaks?

 

Note this is possible to do already with REST Client.  I am using the code editor instead

 

Thanks in advance

-Moses

0
3 comments

what version do you use? The fix for  https://youtrack.jetbrains.com/issue/WI-40405 must be included in 2017.3.4...

1
Avatar
Permanently deleted user

Please see below:

 

IntelliJ IDEA 2017.3.2 (Ultimate Edition)
Build #IU-173.4127.27, built on December 25, 2017

 

I will attempt upgrade now to 2017.3.4...  

 

Thank you

0
Avatar
Permanently deleted user

Worked on 2017.3.4.  Thank you

1

Please sign in to leave a comment.