localStorage key improved to hanlde method, body data and params