@baris Your solution was confirmed working for my plugin. Thank you Sir.
custom plugin with custom POST url
I need to create a plugin that creates a url like
another app will POST to that URL with some encripted information with user information, and then need nodebb to update user information to that information in the POST ( I already know how to decript the data, and how to do all user update info calls, I just dont know how to create the endpoint for POST this info)
I know I can create GET urls like this
router.get('/update-user-api', middleware.buildHeader, render); router.get('/api/update-user-api', render);
but can find documentation on how to create url for POST. Any help? maybe something that is laready done I can use as example?