HttpRepl icon indicating copy to clipboard operation
HttpRepl copied to clipboard

Response shown in console doesn't show raw Json text

Open mcurros2 opened this issue 3 years ago • 0 comments

When executing a POST command that returns an object, the JSON displayed in the terminal/console is the deserialized object converted to string and not the RAW Json string received.

You can test this easy returning a date, the date string format is localized and not the ISO format returned in the Json string. This may also affect other returned values as they would be shown in a deserialized format.

Using --response:body works as expected: the resulting file contents is the Json string recevied.

mcurros2 avatar Oct 15 '22 12:10 mcurros2