typicode / json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Other
73.05k stars 7.02k forks source link

delay [ms] is not working for me...... #1558

Open Sntsayi opened 5 months ago

Sntsayi commented 5 months ago

wehn i try to use delay option in our project i got this error?

Unknown option '--delay', how i can fix it.

Quentin-L-Inge commented 5 months ago

It's "normal". They removed the --delay in the CLI for no reason and tell you to use the delay option of the network tab in your browser. But it's not a really good idea to have delay in the back-end. So you can come back to the version 0.17.4 to get back this feature :)

KevinVandy commented 4 months ago

I literally chose to use this project because of the delay feature for demos and being able to change it so fast. RIP