How to send data (POST request) to our custom backend api
Unsolved
Technical Support
-
I want to send data to my custom backend api whose url can be assumed as: /api/test when ever user registers on the discuss form. That is when user clicks on register button I want that data to be sent to my custom backend too with some additional fields. Please help
-
You can use the request module in nodebb or just fetch to send the data when a user registers. If you don't want to write a plugin take a look at https://github.com/NodeBB/nodebb-plugin-webhooks, it can ping custom endpoints when a hook is fired in nodebb.
Copyright © 2024 NodeBB | Contributors