replaced old way of specifying http method by the new one
fix xml to specify a method
bug #4131 Replaced old way of specifying http method by the new one (Baptouuuu)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4131).

Discussion
----------

Replaced old way of specifying http method by the new one

| Q                  | A
| ---------------- | ---
| Doc fix?        | yes
| New docs?   | no
| Applies to     | 2.5+
| Fixed tickets |

Commits
-------

20b20ac fix xml to specify a method
c9bdb4a replaced old way of specifying http method by the new one