Option 1: Query Parameter
Append?mockMode=async to the request URL:
Option 2: HTTP Header
Send thex-mock-mode: async header:
The query parameter takes precedence over the header. If neither is provided, the request defaults to sync mode.
How to toggle synchronous and asynchronous behavior in the Strails Mock Sandbox.
?mockMode=async to the request URL:
x-mock-mode: async header:
The query parameter takes precedence over the header. If neither is provided, the request defaults to sync mode.