[rest] How to export specific request to file using postman?

You can export collection by clicking on arrow button

enter image description here

and then click on download collection button