Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I have requirement To build a page which is always ready to accept Http posts. can anybody drag me out of this
Posted
Comments
Sergey Alexandrovich Kryukov 6-Sep-13 21:53pm    
It does not seem to make any sense. If a page accepts HTTP posts, it always accepts them.
If you want anyone "to drag you out of this", why do you do software development? Or you don't?
—SA

1 solution

Please see my comment to the question, which really looks weird. I'm not sure, maybe this is an indication of lack of understanding of some basics.

A page accepts HTTP request it if contains a form with a submit button and valid target and method attributes which allows the user to perform the HTTP request by clicking a submit button. Or, the page can use a JavaScript using Ajax for sending an HTTP request. And, finally, every anchor element with target specified by the href attribute pointing to some other page causes HTTP request when the user clicks this anchored element.

Please see:
http://www.w3.org/TR/html401/interact/forms.html[^],
http://en.wikipedia.org/wiki/Ajax_%28programming%29[^],
http://www.w3schools.com/ajax/[^],
http://www.w3schools.com/html/html_links.asp[^],
http://www.w3.org/MarkUp/1995-archive/Elements/A.html[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900