Code Generators

How to generate code with HttpRider

Select the API request and Press Ctrl/Cmd + E or the export button on the toolbar to open up the code generator dialog.

Some of the code generators rely on the response so please make sure that you have successfully run an API. If the backend service is not ready then you can use Mocked Response to generate a fake response.

Code Generator Toolbar

The code generator dialog will generate code for the selected item but you can easily change it.

Code Generator Dialog

Copy button will copy the code to the clipboard. Export button will export the code to a file.

It is also possible to export multiple APIs by pressing Shift + Ctrl/Cmd + E or the following button on the toolbar.

Export Multiple APIs