1

Regarding to a static link on a web page, the browser will issue GET or POST request to the web site, depending on whether a form of parameters attached.

However, I want the browser to issue a PUT request for that link, how can I do that? I know that Ajax could do it, but I don't want to use Ajax.

ciphor
  • 8,018
  • 11
  • 53
  • 70

1 Answers1

0

I want the browser to issue a PUT request for that link

it seems that PUT and DELETE are currently unsupported in html forms, according to this submission to the w3.

I know that Ajax could do it

Not always true. Because PUT and DELETE are at times unsupported by some browsers, ajax cannot consume them without making a dummy param to trigger a real PUT or DELETE server side, which gives the illusion of full HTTP support by ajax.

Community
  • 1
  • 1
Kristian
  • 21,204
  • 19
  • 101
  • 176