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
Outputting the request and response inside a JSON wrapper is useful in that it shows what data was sent, but it isn't a true representation of the raw HTTP request and responses that were transmitted.
If you're sending a JSON payload to a remote API and the exact format is important (objects vs arrays, etc) then it's difficult to know if what you're seeing in Blanket is exactly what you sent or an interpreted version of it.
Is it possible to piece the JSON components back together to show what was actually sent in its raw form (like what you'd see if you were using a packet sniffer)?
With current implementation this is not possible, cus if you look at the data method implementation of laravel client request https://github.com/laravel/framework/blob/8.x/src/Illuminate/Http/Client/Request.php and response classes it always return data in array format if data can be decoded as json. One way to do that is extend those cleasses and get the underlying data property directly in that case then we need to create two more columns to save raw forms of request and response data.
Outputting the request and response inside a JSON wrapper is useful in that it shows what data was sent, but it isn't a true representation of the raw HTTP request and responses that were transmitted.
If you're sending a JSON payload to a remote API and the exact format is important (objects vs arrays, etc) then it's difficult to know if what you're seeing in Blanket is exactly what you sent or an interpreted version of it.
Is it possible to piece the JSON components back together to show what was actually sent in its raw form (like what you'd see if you were using a packet sniffer)?
You'd show something like this for a request:
And this for the response:
The text was updated successfully, but these errors were encountered: