Submit POST form from url

Posted by Martijn Van Mierloo on Stack Overflow See other posts from Stack Overflow or by Martijn Van Mierloo
Published on 2012-11-16T10:55:15Z Indexed on 2012/11/16 10:59 UTC
Read the original article Hit count: 126

Filed under:
|
|
|
|

Website: www.example.com

<form method="POSt" action="" >
    <input type="hidden" name="test1"  value="test11" />
    <input type="hidden" name="test2"  value="" /> 
    <input type="hidden" name="test3"  value="test33" /> 
    <input type="submit" value="Submit">
</form>

I want to sumbit this form with adding the correct parameters in the URL. With GET, I can simply use : http://ww.example.com/?test1=test11&test2=&test3=test33 and the form will be sumbitted. Can I do the same for a POST? If so, how?

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about html