Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  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.
  5. Use "Re-Generate" button to generate a new fresh token and click on "Unset Token" button if you no longer want to use this feature.
Info
titleInfo

We recommend everyone to generate mock server token, so that anonymous user will not have access to your mock APIs. As vREST pricing also include limited mock requests count, so, secure your mock APIs with mock token.