Answer by BENARD Patrick for res.send XML is giving empty Document in Express
I see that you copy the code from github repo.You're sending as response the xml object, not the string....Instead of res.send(xmlDoc);dores.send(xml);
View Articleres.send XML is giving empty Document in Express
I am trying simple api which return sml response :const express = require('express');const bodyParser = require('body-parser');const cors = require('cors');const libxmljs = require("libxmljs");const...
View Article
More Pages to Explore .....