Quantcast
Channel: res.send XML is giving empty Document in Express - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



res.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
Browsing all 2 articles
Browse latest View live




Latest Images