Skip to content

Response shown in console doesn't show raw Json text #585

@mcurros2

Description

@mcurros2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions