api-now icon indicating copy to clipboard operation
api-now copied to clipboard

How to simulate HTTP response code such as 200, 440, 503, ...

Open ryutb opened this issue 5 years ago • 1 comments

Please help me simulate HTTP response code like json-server.

ryutb avatar Apr 22 '20 17:04 ryutb

will it work if we add a parameter like "errorCode=400" to the URL to simulate it like: curl http://localhost:3003/todos?errorCode=400

@ltbaogt2

ngduc avatar Apr 22 '20 17:04 ngduc