5 Tools with export to cURL option
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.
Insomnia
A Postman’s alternative, also supports exporting cURL commands.
Swagger (OPEN API)
A very widely spread tool for documenting APIs — Swagger also generates cURL commands out of the specification file.
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.