You just outlined the steps the Instagram app and servers use to display Stories on your phone. From the app to the server and back.