bruno
bruno copied to clipboard
Response area does not show real response
In case the response of an endpoint returns a slightly invalid json, the response view looses some data. The original response is:
{
"parent": {
"child": {
"id": "490017",
"availability": "2"
},
"child": {
"id": "490055",
"availability": "2"
}
}
}
will be shown like:
{
"parent": {
"child": {
"id": "490055",
"availability": "2"
}
}
}
Bruno is also Parsing the content to json although the response content-type, is for exampel "text/plain".
I think it is important for an API client that the displayed response is maching the real response. Prettifing is of course also an important feature but should not corrupt the responeded data.
What can we do against it ?
What can we do against it ?
Not much currently with standard Bruno, but I implemented a "raw" preview mode for this on my fork. The Fork is compatible with standard Bruno and just includes some you can try it out here: https://github.com/Its-treason/bruno/releases/tag/nightly