Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6777923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:12:21+00:00 2026-05-26T16:12:21+00:00

I do not know much about the difference between a HTTP Get and a

  • 0

I do not know much about the difference between a HTTP Get and a HTTP Post so I am hoping to get some information from those more knowledgeable then me.

I have written the following code:

<form action="https://na.leagueoflegends.com/user/login" method="post">
    <input name="name" type="text" value="MYACCOUNTLOGINUSERNAME">
    <input name="pass" type="password" value="PASSWORD">
    <input name="form_id" id="edit-user-login" value="user_login">
    <input class="login_button" value="Submit" type="submit" style="width:100px">            
</form>

When I pass my actual username and password to the form and click the submit button I will be properly logged into the website.

However, when I change method from POST to GET it returns the following: https://na.leagueoflegends.com/user/login?name=MYACCOUNTLOGINUSERNAME&pass=PASSWORD&form_id=user_login and when I click this link it does not log me in.

My question is, is it possible to do a “direct” POST via Python where I do not have to create a form but instead I can just open a URL that contains the proper parameters to log me in and POST them to the server?

Thank you in advance for your knowledge, suggestions, and/or answers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:12:21+00:00Added an answer on May 26, 2026 at 4:12 pm

    Logging in basically means receiving a cookie. After sending a POST request you get a cookie that authenticates you for future GET requests. A GET request, however, cannot authenticate you unless the server side has allowed this (it shoudld not be allowed, because it is very insecure). So the answer to your question is “no, not possible”.

    Inserting the cookie into the real browser is not very easy. I suggest you use mechanize, if you want to automate the login process and do nothing else automatically. If you want to automate other things as well look into urllib2 or requests for good HTTP request APIs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I do not not know much about Regex, I want to try parsing sting
I'm not too good with SQL and I know there's probably a much more
As far as I know (not much I'll admit), the currently popular programming paradigms
I know XHTML CSS but PHP knowledge is not much and i want to
I know this isn't a unique issue but I've not had much luck finding
I know Singleton pattern has been discussed so much. But because I'm not fully
Does anyone know any resources (books/websites/whatever) related to parsing. I'm not so much interested
If you do not know what Pipe Viewer is (I did not know about
I know that the difference between defines and constants is that constants have type,
I do not know javascript right now but I am planning on learning it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.