runner icon indicating copy to clipboard operation
runner copied to clipboard

Discussion for a new feature - Support more content types

Open mmoreiradj opened this issue 1 year ago • 0 comments

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()

mmoreiradj avatar Oct 12 '24 15:10 mmoreiradj