0.1.0 • Published 11 years ago

connect-request-type-override v0.1.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

Connect Request Type Override Middleware

A Node.js Connect framework middleware for overriding any request type with 'application/json' to allow for easier testing of the REST API calls.

Includes option for overriding default accept headers by specifying the extension of .json to the url, or passing query string parameter ?format=json which will both force serving the REST API JSON response data.

History

License

This library is licensed under the MIT License