loading snackbar for http requests