next up previous contents
Next: GET method Up: Overview Previous: Overview   Contents

POST method

There is nothing special about this method except ONE thing. Standard HTML scripting to pass the variables can be used using NAME and VALUE etc...
However, at this point, when using this method, you have to use
ENCTYPE=multipart/form-data in the FORM tag. An example would be:

$<$FORM METHOD=POST ENCTYPE=multipart/form-data
ACTION="http://moo.kcc.hawaii.edu:8888/612/login/"$>$

The above example implies that Aloha is running on port 8888 and that the content of the FORM values will be sent to the verb named login() on the object #612.

Hence, the general syntax is:

http://server:port/object/verb/

See $kahuna:do_login_command() for the case where ENCTYPE=multipart/form-data is not included. I am having a problem with this. If you are interested in working on this, feel free coz I gave up (see section: 1.7.1).

There is also a case for Content-type: text/plain, but I haven't developed it and have no idea how it wold behave at this stage. Finally, there is an XML case that Aldon wrote, which I know nothing about. Talk to him about it. Hopefully, he will look into it soon and write something up along with some example scripts.


next up previous contents
Next: GET method Up: Overview Previous: Overview   Contents
Kr@nX 666 2004-01-04