You often want to run your queue in a development or test environment. You can add a
_env query parameter (or
X-Zeplo-Env header) to your requests to specify which environment the request is running in. This will then appear in the console, and can be used to filter requests.
The easiest way to run Zeplo in your development environment is to simply remove the
zeplo.to/ prefix based on an environment variable. Below is an example of how you might setup a utility function to handle this.
This approach has the advantage that in development, errors are thrown directly which can lead to easier debugging 🙌.
The easiest way to run Zeplo in production is to expose the endpoint you want to call to the internet. Simply create a secret token which can then passed along with every request.
You would then call this service with:
Note: all Zeplo parameters are stripped from the URL before being relayed, so you cannot check for presence of
Contact sales for running on-premise solution.