POST method on HTML form
The Html_login_1 demo that comes together with the Taiko compiler, uses the HTML GET method on the FORM to pass the login variables. When I change it to the POST method, the code does not work. The documentation says that it is compatible with both GET/POST methods. Am I missing something?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Have you noticed that you should add space to httprqstring if you are using post method and that parsing function included on html_login_1 demo. something like this: http_req_string = sock.httprqstring+" "
I haven't tested that demo, but Im using post method in my project and it works nice.
I’m confident
-
Kaljuk, thank you for the help.
If I could get to the sock.httprqstring buffer when using post method I would be happy!!
The problem is that when I place a breakpoint over the http_req_string = sock.httprqstring line, it only stops there when I am using the GET method. When I change to POST method it never gets there, so I could never see what is getting to httprqstring and, of course, the page is never loaded.
If you could do this test (demo login with post method) it will be very interesting for me, so I can compare if this problem happens only to me or not.
I have all my code using GET method, but I would like to have the POST method in one page to receive a password. -
Inappropriate?Did you try this with IE or Firefox?
I have a sneaking suspicion that this might be a Firefox-only issue. Can you try? -
I am using IE 6.0. But already tryied with Firefox and got the same result, the page does not "load" also.
I already tryied to search something about IE blocking POST methods but found nothing.
I found curious that the 09_html_led demo has a html page called post.html, but uses the get method... -
Inappropriate?Alright, it's back to the drawing board, then.
I suspect it's a firmware bug. We've let our developers know.
All webserver-related fixes will be done at the same time, so a fix is not immediate, I'm afraid. Will you be able to use GET for now? -
Ezuk,
Let me thank you for your prompt answers.
I would only ask you to present this situation to your firmware developers to let them answer to us if it is a bug or not, even if it will not be solved right now. So I can just stop trying to make it work!! I have tryied almost everything to solve it.
I can make the development with the GET method by now and when the fix get done, I can change to the POST method.
But notice that I will really need to use the POST method in the future (for password protection). -
Inappropriate?Sure thing, Gabee. I've sent them an email -- I hope to have an answer sometime tomorrow.
Also, thanks for noting the difference between GET and POST -- I now see why POST is important. -
Ok! Once more, thank you for the feedback.
Let's see what they tell us!! -
Inappropriate?Hi Ezuk!
I received an EM1000 EVM and tested it.
Just to inform you that with the EM1000 the POST method worked.
It feels that we have this bug only on EM202 module...
I’m worried
-
Inappropriate?Hi Gabee!
So wait, why are you worried?
The EM202 is not even available at the moment -- see other forum topics on this. The model is not discontinued, it's just being optimized right now.
And once the new model comes out, I guess there might be some firmware changes too, and the developers would fix this.
And right now, you found a solution with the EM1000. So... is there a problem right now? -
Inappropriate?Hi Ezuk!
I am worried because the EM202 is used in a product that we are in full production, and I need to develop a solution for this product with the password that I previously talked about... So I am still worried about the EM202 POST solution...
The EM1000 will fit another procuct that we are still designing...
So I will be anxiously waiting the new release of the EM202 module! -
Inappropriate?Yes, I guess that would be the best thing to do at the moment. I hope it resolves the issue.
-
Inappropriate?I hope so...
-
Inappropriate?is POST method fixed in new firmware of X202? I have reported this problem years ago but no answer from tibbo! I used my own software and UDP broadcast paket on net to change something, also for data and password protection.
Loading Profile...




EMPLOYEE
