setrequestmethode

used to set requstmethode