Describe the bug
I am testing my Rest APIs that sends back a JSON response. "Visual Preview" and "Source Code" shows [] as the response, white the "Raw Data" option shows the proper JSON response. If i hit the same API using Postman, the formatting shows properly. I am sharing the screencast of both Insomnia and Postman, may be this will help you get an idea of what is this happening. Also, attaching the header information so that you may know why is this happening.
Expected behavior
JSON response should show in a formatted manner.
Screenshots
Insomnia:
https://share.getcloudapp.com/Z4uqnzex
Postman:
https://share.getcloudapp.com/llun7wmY
Headers:
https://share.getcloudapp.com/12uK7E9L
Desktop (please complete the following information):
Additional context
Version: Insomnia Core 2020.5.2
Release date: 09/12/2020
OS: Darwin x64 18.7.0
Electron: 9.1.1
Node: 12.14.1
V8: 8.3.110.13-electron.0
Architecture: x64
node-libcurl: libcurl/7.69.1 OpenSSL/1.1.1g zlib/1.2.11 brotli/1.0.7 libidn2/2.1.1 libssh2/1.9.0 nghttp2/1.41.0
What is the mimetype for the response?
Not sure where to look for the mimetype, but as per the header screenshot above, the response content type is application/json
Most helpful comment
Not sure where to look for the mimetype, but as per the header screenshot above, the response content type is
application/json