Re: POST vs.GET

Jing Wang <jwang-9/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
These are the things I have tried:
1. <form method="get" action="some_petal_page.pt">: works fine;
2. <form method="post" action="some_cgi_script.pl">: works fine;
3. <form method="post" action="some_petal_page.pt">: does not work. It 
looks like my browser does not recognize "some_petal_page.pt". It acts 
like I am downloading a file.
Just to clarify, I have a "request-broker" perl cgi that retrieves all 
the parameters passed from a petal page, and processes the resulting 
petal page.

Bruno Postle wrote:

>On Fri 24-Jun-2005 at 13:16 -0700, Jing Wang wrote:
>
>  
>
>>I was trying to use method=POST in my form since I have a very long 
>>parameter to pass. But I realized that POST does not work with petal. 
>>    
>>
>
>Try it with double-quotes:
>
>  <form method="post" ... >
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.