Wednesday, February 2, 2022

[SOLVED] Copying curl request from Chrome to Postman doesn't work as expected

Issue

I am trying to copy the curl from this website to postman.

I want to copy the request when clicking on the following button:

enter image description here

I opened DevTools in the Network tab to see copy the request:

enter image description here

and then I import to postman:

enter image description here

But in Postman, I get HTML response, while chrome downloads an xls file. Why does Postman fail to download the file? Does anyone see what I am missing?


Solution

From whatever reason the body is not copied to Postman request. When I copy it manually from the browser's network tab:

enter image description here

I can get the xml format, then I can click on Save Response => Save to a file, and it offers me to save it as "breach_report.xls".



Answered By - pavelsaman
Answer Checked By - Mildred Charles (WPSolving Admin)