Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to get response using winhttpjs.bat but there is something wrong I'm doing #33

Open
bils7922 opened this issue May 7, 2021 · 3 comments

Comments

@bils7922
Copy link

bils7922 commented May 7, 2021

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.

@Acromatic
Copy link

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

@Acromatic
Copy link

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.

@Acromatic
Copy link

don't run old XP code on windows 10 without knowing what you're doing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants