"logic will get you from A to B - imagination will take you anywhere"
How to use Form to invoke a remote service through CGI.
1. Copy the search box of this search page,
inlcuding radio buttons, text input, and submit button.
2. Open your Nvu HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.
5. Add a Form to this search box.
6. Set Action="http://google.com/search" and name of Form as "f" and method as "get"
(See Hint if it does not work.)
7. Run your HTML by Firefox. What do you get?
8. Set method as "post"
9. Run your HTML by Firefox. What do you get?
訂閱:
張貼留言 (Atom)
6 則留言:
9026106 have done 1~9
s9126107
GET =>可以work
POST =>出現 Not Implemented
The server is unable to process your request.
s9045118 have done 1-9
s9126218 did all
s9126359 did 1~9
get:可以
post: The server is unable to process your request.
s9026161 done all
張貼留言