Write-API post as a Guest?

NodeBB Plugins
  • #1

    Hey!

    Is it possible to post as Guest via the write API?

    I tried to reply to a topic via:

    const bodyParameters = {
      _uid: 0,
      content: "It works!"
    };
    

    But it does not work. Is it possible to post as a Guest and set a username with the request or is it only possible to use the write api with a existing uid?

    Looking forward to your answers.


Suggested Topics


  • 0 Votes
    1 Posts
    259 Views


  • 1 Votes
    4 Posts
    1771 Views

  • 0 Votes
    2 Posts
    1446 Views

  • 0 Votes
    14 Posts
    9492 Views

| | | |