How is an HTTP POST request made in node.js?
request is now deprecated. It is recommended you use an alternative In no particular order and dreadfully incomplete: native HTTP/S, const https = require(‘https’); node-fetch axios got superagent bent make-fetch-happen unfetch tiny-json-http needle urllib Stats comparision Some code examples Original answer: This gets a lot easier if you use the request library. var request = … Read more