Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Issue in accessing converted JSON object(XML to JSON) in Node

Not applicable

Hi,

Could you please someone help to address this issue. Currently, I am facing issue in reading json object data if request posted as XML and convert via XML-to-JSON policy.The same scripts are working fine for direct json payload. I don't see any difference in request content for converted object and direct json post.

Already using bodyparser in script,

var express = require('express');

var bodyParser = require('body-parser');

var http_server = express();

http_server.use(bodyParser.json())

Thanks,

Praveen.

0 2 176
2 REPLIES 2
Top Solution Authors