-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
Description
The JS interface for creating APIs is super easy and clear, but the command line interface can be a bit of a faff.
This:
$ interfake GET /thing 200 {"response":"whatever"} creates POST /other-thing 201 {"hey":"whatup"}
Should produce the same results aas this:
interfake.get('/thing').status(200).body({"response":"whatever"}).creates.post('/other-thing').status(201).body({"hey":"whatup"});- Support creating a single endpoint
- Support
creates - Support
extends - Support
patch