change method curl