sbley/nodehal

Post

Closed this issue · 3 comments

Hi my friend..

Im trying to use Traverson library to post to my Express JS Server.. However, req.body is empty. Could you help me?

Thanks!

sbley commented

Not sure if I can help for your specific problem. Please ask on Stack Overflow and feel free to leave a link.

Man you are fast! Thank you.. But I could solve! I just had to set this:

app.use(express.json({ type: 'application/*+json' }));

Thank you again!!

sbley commented

Great, happy coding!