runner
runner copied to clipboard
Discussion for a new feature - Support more content types
I think this is useful when we want to send xml for example.
I have to integrate an app with old applications and need tests on that endpoint.
It could also be an option to have a method on response that allows any content type.
const response = await client.post('x').xml(xml).send()
// or
const response = await client.port('x').header('content-type', 'application/xml').body(xml).send()