Get the latest tech news

Mock – An API creation and testing utility: Examples


How-tos & Examples¶ Delaying specific endpoints¶ Making an existing API slow can be easily accomplished combining mock’s Base APIs and the delay option. $ mock serve -p 8000 --base example.com --delay 2000 You may want however to make a specific endpoint slow instead of the whole API.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of API

API

Photo of creation

creation

Photo of testing

testing

Related news:

News photo

Do you know that there is an HTML tables API?

News photo

X is testing a pay-per-use pricing model for its API

News photo

Google releases new AI video model Veo 3.1 in Flow and API: what it means for enterprises