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>

 

0
Avatar
Permanently deleted user
正式评论

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>.

请先登录再写评论。