Hello all, I have been writing some tests for our API’s.
And problem is we need to call another API with POST method and get TOKEN to make further tests on MAIN API with get requests that needs testing, however with my code both API’s are getting called at same time basically in same function as it is how I wrote it, is it possible to somehow call TOKEN api outside of a function?
Or just to post request once within same script ?