Implemented the params copy to $ object for GET and POST