Sign In/My Account | View Cart  
advertisement

Article:
 Google's Gaffe
Subject: POST-ing without variables
Date: 2002-04-25 21:09:52
From: Sonam Chauhan

Sidetracking a wee bit: I don't think its currently possible to POST a document from a *web* page so that the document itself comprises the body of the POST, is it? (i.e. POST using no CGI "var=value" variables).


If not, its good if W3C comes up with an extension to HTML to allow *browsers* to do variable-less posting. Something like the following syntax could be used to post this XML document : "<test/>" from a web form.


--
<form action="a.pl" method="post" SUBMETHOD="no-variables" CONTENT-TYPE="text/xml" DOCUMENT="<test/>">
--



This would enable SOAP queries to be made from webpages (thus giving SOAP the same rich hyperlinking abilities that GET has)


As regards your article Paul - its great, the way you've explained the technologies. I didn't "get" SOAP earlier. Now that I get it, I don't like its horrible verbosity. However I would prefer using XML to post queries rather than using GET and CGI variables though. Also I think you've may have overestimated the computational expense. CGI variables have to be parsed the same way as XML is. With most webservers moving XML (and SOAP?) parsers into the core of the webserver engine, this will be less of a computational expense.



Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First

Sponsored By: