Update resquest method. Bug fixed about POST, PUT methods