Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed JSON.stringify to prevent double stringify #167

Merged
merged 1 commit into from
Jan 2, 2015

Commits on Dec 13, 2014

  1. Removed JSON.stringify to prevent double stringify

    requestjs applies JSON.stringify to the request body when json option is true. Stringifying from this module makes the requestjs to send request body as "{}" instead of {} making the server throw "invalid json" when bodyparser module is used.
    
    I just removed JSON.stringify in this module to fix the issue.
    iameugenejo committed Dec 13, 2014
    Configuration menu
    Copy the full SHA
    d7bca54 View commit details
    Browse the repository at this point in the history