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

DELETE with JSON body

Open MrMickS opened this issue 7 years ago • 1 comments

I'm trying to test a REST API which has a DELETE method with a JSON body to tell it what to delete. This isn't supported by the current version of cucumber-api. Are there any plans to add this? Would it break other things if a JSON body was passed?

MrMickS avatar Dec 29 '16 13:12 MrMickS

I never try but I think it's possible to add body to any request methods including DELETE. Should be straightforward to add.

hidroh avatar Jan 01 '17 10:01 hidroh