GraphQL HTTP Server Middleware
The packacge is built using express-graphql. This package has an additional features that it can serve xml response.
Installation
npm install --save express-graphql-multimode
Simple Setup
Just mount express-graphql-multimode
as a route handler:
const express = ;const graphqlHTTP = ; const app = ; //make it to send xml responseconst mode = "name" : "xml" app; app;