updated calls to proper request methods

After adding the use statement, new errors appeared, this fixes them.