Open iamsumanth opened 6 years ago
POST takes only url as a parameter, it would be great if it can take request body also, so it can give different responses for different request body.
url
request body
Expected post implementation: interfake.post({url: '/next-items', body: {}}).status(201).body({ created : true });
POST takes only
url
as a parameter, it would be great if it can takerequest body
also, so it can give different responses for differentrequest body
.Expected post implementation: interfake.post({url: '/next-items', body: {}}).status(201).body({ created : true });