Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Mock Authentication allows you to secure your mock APIs. This is optional feature in vREST mock server.


If you don't want to secure your mock APIs, either do not generate the auth token or unset the token if you have already generated.

Now, to use this feature, follow the steps below:

  1. Click on Generate button in Mock Authentication Section of Mock Server Tab.
  2. After clicking on "Generate Token" button, you will see the screen similar to this:
  3. Click on "Copy" button to copy the authentication token.
  4. Now, to use mock APIs configured in Mock Server tab, you need to send an extra request header with the mock request from your web / mobile application and the header is x-vrest-mock-token and its value is, what you have copied from previous step.


  • No labels