5 Tools with export to cURL option

Hamza Sabljakovic
2 min readApr 13, 2020

--

As web APIs are growing in popularity day by day, there is an increasing need for a convenient, portable, widely recognized & available format/tool to document or try out APIs. Many developer’s tools have recognized that cURL fits those requirements and started offering a way to export it. In the rest of the post, we will mention a few of the most popular tools including a short guide on how to export out of them.

Web browsers — Safari, Firefox & Google chrome

All the major browsers, usually under the network tab in the developer’s tools, give the option to export cURL commands.

Postman

It doesn’t come as a surprise that a tool specialised in API development & testing offers a cURL as an export option.

Postman — Code generator for multiple langauges
Postman — Copy as cURL

Insomnia

A Postman’s alternative, also supports exporting cURL commands.

Insomnia — Copy as cURL

Swagger (OPEN API)

A very widely spread tool for documenting APIs — Swagger also generates cURL commands out of the specification file.

Swagger — Click on the “Try it out” button
Swagger — Once pressed the “Execute” the a cURL command command will show up

Proxyman

A useful tool for debugging APIs with more control then the browser network tab (mentioned in the browser section). However, it’s a macOS only app.

Proxyman — Copy as cURL

--

--