Thanks, that did it!
Login account using C++
I want to make software product with a login to NodeBB account, the software is written in C++, to provide binary executives to my clients. How could I login into NodeBB using C++? Could anyone give some clues? Thanks in advance.
@jiangcaiyang NodeBB's API works with HTTP and WebSockets. Therefore, you could possibly write a C++ program that sends HTTP requests / websocket to login users. I don't have ask the details, so you should look through the NodeBB source code to figure out how they do it.
You could alternatively create a NodeBB plugin that could expose a simpler HTTP API. That could make your C++ code easier to implement.
@PitaJ I notice the normal login procedure is that filling a <form> elements and do jQuery's ajaxSubmit. If all is to send ajax submission, how could we rewrite it into C++ equivalent to ajax submission?