How can i return xml using ctx from msw package?
now i using this code:
const endpointHandler = (req, res, ctx) => {
const xml = `<test></test>`;
return res(ctx.status(200), ctx.xml(xml));
};
but it's don't work
any help?
How can i return xml using ctx from msw package?
now i using this code:
const endpointHandler = (req, res, ctx) => {
const xml = `<test></test>`;
return res(ctx.status(200), ctx.xml(xml));
};
but it's don't work
any help?
Copyright © 2021 Jogjafile Inc.
ok i get it :