added sendStatement with url param example