See the Pen getData response interceptors by christianacca (@christianacca) on CodePen.