@riders If you're okay with completely resetting your forum, you can just change the database name in config.json, or you can drop the old database entirely, which will destroy all of your data. In mongo this would be (assuming the db name is nodebb) mongo nodebb --eval db.dropDatabase().
UNSOLVED How Generate Admin Token and call API create Topic
Nodemy last edited by
I build my website base on nodebb.
I have group Facebook and now i want to build a tool crawl all question from group to my website.
In my VPS i have upgrade nodebb 1.14x to 1.18.4.
But i cannot generate token to use v3/api of nodebb.
Call API: POST
(5866 is my uid admin account) but got forbidden like picture below:
Is that issue about CORS or session, admin setting?
I found some docs talk about 2 type token (master and user token) but i not really understand them. Please help me make a sample to call my API create topic or post by Request package npm.
Thank you a lot.