interfake icon indicating copy to clipboard operation
interfake copied to clipboard

Match request body on POST

Open iamsumanth opened this issue 6 years ago • 0 comments

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.

Expected post implementation: interfake.post({url: '/next-items', body: {}}).status(201).body({ created : true });

iamsumanth avatar Mar 21 '18 07:03 iamsumanth