FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.9k stars 140 forks source link

Receiving xml in request body #1203

Closed Malouda closed 11 months ago

Malouda commented 1 year ago

Version of FoalTS: 3.0.0 Hi everyone, I am hitting a snag here!! Is there a way to receive xml in the body of the request? i am receiving json just fine but when i send xml request body is empty!!!

Thanks

LoicPoullain commented 1 year ago

It looks like this line is missing the header application/xml. Do you want to submit a PR for this?

paoloevan commented 1 year ago

I've published a PR for this #1231

LoicPoullain commented 11 months ago

Feature has been added in v4.1 👍