You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use the browser extension, it sends the body as the string "[object Object]" instead of the actual json body. I've tried both with firefox and chromium, with extension v0.37.
Yeah, I've has similar results. One of my JSON fields had an escaped quote via \" in its value. Awkwardly, switching to using single quotes and not escaping the double quotes instead of double quotes around the field value worked. I'd think the value in the body should be JSON parsed and then sent but it seems like the browser extension is just reading the body values in as javascript strings.
However, similar to you, I'm starting to hit issues with invalid JSON being sent to the URL when there is no escaping going on in the payloads. Also, wish there was a way to get raw logs of requests and responses so we didn't have to drop down to network tools like you did with wireshark.
I found a workaround by setting the content type dropdown to text/plain and then overriding the content-type with application/json; charset=UTF-8 in the headers. The behavior of the extension looks to skip any sort of JSON parsing and just passes through the data and then the overridden header sets the request's content type to JSON.
Hello
When I try to use the browser extension, it sends the body as the string "[object Object]" instead of the actual json body. I've tried both with firefox and chromium, with extension v0.37.
The text was updated successfully, but these errors were encountered: