Skip to content

PUT and POST do not work with qs.stringify #3

Description

@arush

You will find that you will always get a 500 internal server error if you try and PUT or POST. This is because you don't want to qs.stringify, instead change to JSON.stringify the body parameter, and it works. I have not tested delete yet, but looks like that wont work either, as you'll need to rewrite it with a body tag similar to the PUT and POST. more docs here: http://docs.intercom.io/api#deleting_a_user

Otherwise, I'm loving this module, great work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions