Access Control and privacy

Overview

You can make your fake API fully private and hidden by providing a secret key.

mockend.yml
key: 'Gn#5476Bx'

Usage

Your API can now only be accessed by setting a X-Mockend-Key: <SECRET> header (recommended) or passing a query parameter ?_key=<SECRET>.

Without this, your endpoint will return a 404 error.