Which HTTP method is used when sending this request from the browser?

You are creating a web form with this HTML:
11. <form action=”sendOrder.jsp”>
12. <input type=”text” name=”creditCard”>
13. <input type=”text” name=”expirationDate”>
14. <input type=”submit”>
15. </form>
Which HTTP method is used when sending this request from the browser?

You are creating a web form with this HTML:
11. <form action=”sendOrder.jsp”>
12. <input type=”text” name=”creditCard”>
13. <input type=”text” name=”expirationDate”>
14. <input type=”submit”>
15. </form>
Which HTTP method is used when sending this request from the browser?

A.
GET

B.
PUT

C.
POST

D.
SEND

E.
FORM



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Osama Hamed

Osama Hamed

C, is much safer to send critical info using POST, not get to avoid displaying parameter values in the URL.

Allan Santos

Allan Santos

A.

Should be use POST, but when you omit the method attribute, you choose default method, that is GET.