BookmarkSubscribeRSS Feed
krishnaavm123
Fluorite | Level 6

Hi Team ,

 

 We have Base SAS code where we post API request to Entity index in SAS Visual investigator .

  In order to test one of my scenario I'd like to cancel the ongoing API request , is there anyway to stop request.

  So that API response table status can update with "Failed" Status.

  Basically I want to test another scenario with failed status , But my code always success at first run .

1 REPLY 1
joeFurbee
Community Manager

Hi @krishnaavm123

I'm not aware of a way to cancel the API request. Once it's sent, VI will process it. 

 

Are you wanting to have an asynchronous call come back as 'Failed' in the response? Or are you looking for a non-200 http response?

 

I can take a look and see if I can create an API call that will come back in a failed state. 


Join us for SAS Community Trivia
SAS Bowl XL, SAS Innovate 2024 Recap
Wednesday, May 15, 2024, at 10 a.m. ET | #SASBowl