const request = require("request"); var url = "https://localhost:50000/b1s/v2/Login"; var body = { CompanyDB: "", Password: "", UserName: "", }; var postheaders = { "Content-Type": "application/json", }; var options = { url: url, method: "POST", json: body, postheaders: postheaders, strictSSL: false, }; request.post(options, (error, response, body) => { if(error){ console.log(error); } else { console.log(body); } });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter