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

JSON body parser is unable to parse the payload #4

Open
peacemakr opened this issue Dec 5, 2016 · 0 comments
Open

JSON body parser is unable to parse the payload #4

peacemakr opened this issue Dec 5, 2016 · 0 comments

Comments

@peacemakr
Copy link

Most/all Express apps use the body-parser module to parse request payloads.

However, for some reason the JSON parser was failing on /webrtc/signal/token

  .use( bodyParser.json({ limit: '32kb',   strict: false,   type:'application/json' }))

Looks like you're sending invalid JSON string as payload

domain=domain.com&application=default&room=default&ident=username&secret=&secure=1&username=rewqrw&automaticAnswer=false&type=null
Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant