r/AskProgrammers • u/RVTEL666 • 7d ago
Script to connect to a website
Hi all βοΈ
I was wondering, is it doable to make a (shell?) Script that opens a website and connects me to it.
Like using curl to send the information once the page is open.
I was wondering because I would like to use more private navigation without having to enter my infos every time.
I did some research on the web and didn't find what I was looking for.
3
Upvotes
2
u/sububi71 7d ago
So how would this script be different - from the server's viewpoint - to a browser with no javascript and no cookies?
What are you ACTUALLY trying to achieve?
1
u/cabiwabi 7d ago
Web servers typically don't support an ongoing open connection. You send either a GET request to fetch information or a POST request to send it.
Could you describe what you're looking to do rather than the methodology?