Example of sending web requests on the main/UI thread