I am using nodebb-plugin-write-api plugin for rest api. Then i use request module to post topic in nodebb but i get error misconfigured csrf. What it mean please help me?
NodeBB uses sendmail by default, so if you want to use this you have to install sendmail on your system (it's within ubuntu repositories AFAIK).
Okay good example, I'll see if this works...
I figured out my issue...
MongoDB user I was using had a readWrite role, but I guess it needs the dbAdmin role as well. When I tried creating a new user in the nodebb admin area, then it would make things go wonky without the dbAdmin role and result in invalid csrf tokens.