abort APIRequest if url is empty