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

  • Home
  • SEARCH
  • 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 3282136
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:53:38+00:00 2026-05-17T19:53:38+00:00

When I do http POST request via Web form, Is there any difference(practically or

  • 0

When I do http POST request via Web form, Is there any difference(practically or theoretically) between parameters specified in the URL and parameters passed with form on the server side?

Can I do whole POST with url parameters and expect same result as with form inputs?

Like:

  <form action="/?id=2" method="post">
      <input type="text" name="name" value="John"/>
      <input type="submit" value="submit"/>
  </form>

Or:

  <form action="/?id=2&name=John" method="post">
      <input type="submit" value="submit"/>
  </form>

Thanks.

  • 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-17T19:53:39+00:00Added an answer on May 17, 2026 at 7:53 pm

    The references Gabriel and BrokenGlass provided are really cool, but let me give you me 2 cents.

    I’m supposing you already know a little about how to retrieve data sent from the form on the server-side. If you don’t, start there and the answers will come faster than you could imagine.

    Well, parameters sent on the URL or the form’s attribute action are GET data parameters. They will be parsed and made available as such. Period.

    The input fields from a form with method POST are sent as POST data and are parsed and available as such.

    From examples you gave, and supposing you are using PHP, we could retrieve the following:

    Example 1

    $_GET['id']
    $_POST['name']
    

    Example 2

    $_GET['id']
    $_GET['name']
    

    Hope the concepts are clear.

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

Sidebar

Related Questions

I want to invoke an ASP.NET web service via an http POST request using
Is there any way (in Java Servlet) to determine whether a HTTP POST or
I have a web page containing a login form which loads via HTTP, but
I'd like to have one server make an http post request to another server.
Is it possible to detect the HTTP request method (e.g. GET or POST) of
I want to do an HTTP POST that looks like an HMTL form posted
I want to salt a hashed username and password (submitted via http POST) in
I am working on form, which send input to webservice via post and display
I have written a web application that posts a file via http to a
Question about sending up data to my web server using HTTP via my iPhone

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.