2005年3月27日 星期日

Lab How to use Form to invoke a remote service through CGI.

"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?

30 則留言:

  1. have done1~9
    Q7:just like use google
    Q9:Not Implemented
    The server is unable to process your request.

    回覆刪除
  2. s9028162 have done 1~9

    Google can't support method "post", just method "get".

    回覆刪除
  3. 8926366..
    Q7:just like use google
    Q9:Not Implemented
    The server is unable to process your request

    回覆刪除
  4. "GET":can run correctly
    "POST":we see the error"The server is unable to process your request."

    回覆刪除
  5. s9126138 have done 1~9

    Google can't support method "post", just method "get".

    回覆刪除
  6. s9126135 have done 1~9
    "GET":可以
    "POST":Not Implemented

    回覆刪除
  7. s9126107

    GET =>可以work
    POST =>出現 Not Implemented
    The server is unable to process your request.

    回覆刪除
  8. s9126153
    get 可以
    post 不行

    回覆刪除
  9. s9126137 did 1-9
    google不支援post

    回覆刪除
  10. s9126156

    got 可以搜尋
    post出現Not Implemented的字眼

    回覆刪除
  11. have done1~9

    get:can work
    post:Not Implemented
    The server is unable to process your request.

    回覆刪除
  12. s9126359 did 1~9
    get:可以
    post: The server is unable to process your request.

    回覆刪除
  13. s9026161 done all

    回覆刪除