RestClient request body

In the rest client when you chose request body -text and past there some json or xml formatted text, then the format is lost. And it looks like a simple one line string. 

Is it possible not to lose format? For very long request bodies it is very unconvinien

 

example:

this

<?xml version="1.0" encoding="UTF-8"?>
<xmltest>
   <apiKey>test</apiKey>
   <modelName>test</modelName>
   <calledMethod>test</calledMethod>
</xmltest>

after paste it become this:

<?xml version="1.0" encoding="utf-8"?><xmltest><apiKey>test</apiKey><modelName>test</modelName><calledMethod>test</calledMethod></xmltest>

 

1 comment
Comment actions Permalink
Official comment

Hi,

We already have a related request submitted to our tracker here: <https://youtrack.jetbrains.com/issue/WEB-12699>. Please vote for it in order to move it up in the queue and receive notifications regarding the progress of the feature. Feel free to participate in discussion via comments. See more information on working with tracker at <https://intellij-support.jetbrains.com/entries/23368682>.

Please sign in to leave a comment.