So, I am trying to upgrade a repo from a 3rd party project that is no longer maintained. The issue is it uses "request". Here is a sample of the code
To be clear... The package is called "REQUEST"
request.post(
{
url: config.URL,
form: {
a: "checkToken",
webmasterid: sited,
token: token,
},
},
As I am not a expressJS/Socket.io guy, I am not sure what the new format would be and what I would do to fix this. There are 48 different instances of request.post so I can only guess there is a solution.
Any help would be great!