How Generate Admin Token and call API create Topic

Unsolved Technical Support
  • 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.


Suggested Topics

| | | |