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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to toggle synchronous and asynchronous behavior in the Strails Mock Sandbox.
?mockMode=async to the request URL:
POST https://sandbox.stablesrail.io/v1/onboarduser?mockMode=async
x-mock-mode: async header:
POST https://sandbox.stablesrail.io/v1/onboarduser
x-mock-mode: async
The query parameter takes precedence over the header. If neither is provided, the request defaults to sync mode.
{
"status": "success",
"response_code": "00",
"message": "SUCCESS",
"data": {
"requestId": "req-s-a1b2c3d4e5f6g7h8i9j0",
"status": "processing",
"userHash": "usr-s-...",
"message": "User registration request has been submitted for processing",
"estimatedCompletionTime": "2-5 minutes"
}
}