i am trying to get file from server that has size of(15mb) through Axios Request. showing status "200", but not sending file previewData(base64) and showing this error "failed to load response data request content was evicted from inspector cache" in the preview of Network in inspect. when i get 2 or 3 MB fille that successfully retrived. plese solve my Problem...
The solution I found for capturing big responses is to copy the request and execute it by other means, such as PowerShell or cURL. From the Chrome or Firefox DevTools you can copy the request to a PowerShell, cURL or fetch command by right-clicking the request, selecting copy and then selecting your preferred execution method.
What worked best for me is copying the request as cURL command from Firefox. Chrome is giving me invalid cURL commands.
To capture the response to a file, append > response.txt
to the cURL command.
It is also possible to select cURL as the copy method and import it into Postman. In Postman select File - Import - Raw text and copy the cURL command. When I tried this it did mess up the double quotes in the JSON body of a POST request so it may need some manual tweaking.
The data exists, it's just that it doesn't show it in the cache inspector because it exceeds the maximum number of characters, you can check by saving what the variable has in a .txt file
In my case, create a .txt file and save the base64 in it, I checked that the data was sent and saved. Therefore the data was not displayed in the inspector because it exceeds the maximum size.