What kind of response headers you are getting there then?
AFAIK -- not possible. Maybe try some local proxy software that will patch it on the fly...
Other than that -- have a look at this ticket -- it has some info on how it currently works (at very least for tool window based RESTful Client) and how it should really work: https://youtrack.jetbrains.com/issue/WEB-24771
Ups, sorry, my fault, I wasn't precise. I mean charset encoding which is sometimes a part of content type string. I get response with Content-Type: application/json, and I'd want to be it rendered as "application/json; charset=utf-8". On the other hand, if I understand correctly, json response must be rendered with Unicode at any case, but I see a mess instead of Cyrillic chars.
>On the other hand, if I understand correctly, json response must be rendered with Unicode at any case, but I see a mess instead of Cyrillic chars.
So that aforementioned ticket (WEB-24771) is the right one. Please comment there (maybe it will give the needed push for the assigned dev to work on this ticket; at very least you may ask for the current plans).
In any case -- at least star/vote that ticket to get notified on any progress.
P.S. Try Charles -- it will act as a proxy (available for Windows/Mac/Linux) and can rewrite (patch) specific requests/responses. You should be able to configure it to replace "Content-Type: application/json" by more correct "Content-Type: application/json; charset=utf-8" that should allow IDE's REST client to display text in readable form.
(It's a paid software though; Trial is available .. but it will be time limited .. and I'm not sure about possible restrictions .. therefore it may not be a "permanent workaround" -- for a limited time only at best)
Hi there,
What kind of response headers you are getting there then?
AFAIK -- not possible. Maybe try some local proxy software that will patch it on the fly...
Other than that -- have a look at this ticket -- it has some info on how it currently works (at very least for tool window based RESTful Client) and how it should really work: https://youtrack.jetbrains.com/issue/WEB-24771
Ups, sorry, my fault, I wasn't precise. I mean charset encoding which is sometimes a part of content type string. I get response with Content-Type: application/json, and I'd want to be it rendered as "application/json; charset=utf-8". On the other hand, if I understand correctly, json response must be rendered with Unicode at any case, but I see a mess instead of Cyrillic chars.
>On the other hand, if I understand correctly, json response must be rendered with Unicode at any case, but I see a mess instead of Cyrillic chars.
So that aforementioned ticket (WEB-24771) is the right one. Please comment there (maybe it will give the needed push for the assigned dev to work on this ticket; at very least you may ask for the current plans).
In any case -- at least star/vote that ticket to get notified on any progress.
P.S. Try Charles -- it will act as a proxy (available for Windows/Mac/Linux) and can rewrite (patch) specific requests/responses. You should be able to configure it to replace "Content-Type: application/json" by more correct "Content-Type: application/json; charset=utf-8" that should allow IDE's REST client to display text in readable form.
https://www.charlesproxy.com/documentation/tools/rewrite/
(It's a paid software though; Trial is available .. but it will be time limited .. and I'm not sure about possible restrictions .. therefore it may not be a "permanent workaround" -- for a limited time only at best)
Thanks, have commented on that ticket.