I would like to delay the response time about 30s for testing loading case. Is it possible?
Check CLI usage, you can add --delay [ms], in your case either start with json-server --delay 30000 or create a file called json-server.json and add that option there.
Hi @toe-lai,
Your question is resolved before in this link:
https://github.com/typicode/json-server/issues/188
Most helpful comment
Check CLI usage, you can add
--delay [ms], in your case either start withjson-server --delay 30000or create a file calledjson-server.jsonand add that option there.