ferlores / express-xmlBodyParser

Parses POST requests with Content-Type: 'application/xml' for consumption in your express app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xmlBodyParser for express


Parses POST requests with Content-Type: 'application/xml' for consumption in your node app. Written in coffeescript.

Installation

Put the files in your_app > node_modules > custom_modules > xmlBodyParser and then you can reference it anywhere in your project using:

CoffeeScript

xmlBodyParser = require 'custom_modules/xmlBodyParser/xmlBodyParser'

Usage

In app.configure, use it like this:

CoffeeScript

app.configure ->
  app.use xmlBodyParser.xmlBodyParser

About

Parses POST requests with Content-Type: 'application/xml' for consumption in your express app


Languages

Language:CoffeeScript 100.0%