07-16-2016, 12:59 AM
We could simply add a constant for every method.
Code:
Request.GET
Request.(RAW)POST (RAW is useful when if you want to send json or xml.
All other methods have the raw data send in the request body.
Request.DELETE
Request.PUT
..