2022-10-15

Convert cURL to code

How I convert cURL to code using Postman app

Get cURL from Chrome

Open Chrome -> F12 (DevTools) -> Network -> select request -> right click -> Copy -> Copy as cURL

Import to Postman app

Open Postman desktop app -> Import -> Raw text -> paste cURL from above -> Continue -> Import

Convert to code

Click </> (Code) -> select target language