Code template for web fetch