API mocking with proxy mode

Learn how to partially mock a REST API and proxy to another server with Mockoon.

Get Mockoon latest version and start mocking!

Download

Sometimes you may need to mock only part of an API and forward the rest to an existing REST server. Fortunately, you can do this with Mockoon:
  1. Open the environment settings by clicking on the cog in the upper right corner:
Open environment settings
  1. Enable proxy mode and enter the server URL to which you want to forward calls. A small shield icon should appear on the right of your environment name indicating that the proxy mode has been enabled:
Enable proxy mode

All routes that have been defined will be intercepted by Mockoon, and any other request will be forwarded to the server defined in the proxy mode setting.

Join Mockoon's mailing list to receive latest updates