Store/Write data from setup and read in default/main function

Well I just tried this option and looks like you can’t make a http call in init context (need to call Create Account API) ? So how can I load data into SharedArray?

What’s the preferred way to have test data, if I can’t do this in either setup or init?

Reference: How to use data from an json endpoint with SharedArray?