Added request parameters to cb, take optional resp code from cb