batch.scripts
batch.scripts copied to clipboard
Trying to get response using winhttpjs.bat but there is something wrong I'm doing
Hi I'm Trying to get response from my website using your tool "winhttpjs.bat" but it's not working, what I'm doing wrong? sorry... I have poor knowledge about api and batch file.
files:
1-call.bat
call winhttpjs.bat https://*********** -method POST -body-file body.json -saveTo response.txt
2-body.json
{ "email":"****@****.***", "key":"*******************" }
3-and your tool: winhhtpjs.bat
when I run call.bat the cmd popup for a second and then an EMPTY response.txt file created!! the email and key info are correct but for testing only.
No response? I'll take a crack at it. I'm not familiar with this project but I am with what email has been doing for 20 years, which is to get a lot more security. So unless you're running your own very basic SMTP server (email server) than you're not going to get a response from almost any modern email carriers... hotmail, gmail, ISP emails, will all block you like a virus. And you won't be able to write a client for those either. Although if you do some searching or find one that lets you add the security data, otherwise you'll need google API and pay them or something to that extent.
Simple POST methods to modern sites usually don't even work if they are account based, it's a security hole
Also start with an empty response.txt... windows has many methods for creating and writing to files, older methods this might use will break if they're not the same singular new command, also another virus control formula.
don't run old XP code on windows 10 without knowing what you're doing