Open Telegram and search for @BotFather user and message them the following:
You
/newbot
BotFather
| #preview { | |
| display: none; | |
| } | |
| #preview.active { | |
| width: 100vw; | |
| top: 0; | |
| left: 0; | |
| position: fixed; | |
| display: block; |
| <html> | |
| <head> | |
| <script src="https://cdn.lr-ingest.io/LogRocket.min.js" crossorigin="anonymous"></script> | |
| <script>window.LogRocket && window.LogRocket.init('2wtrade/2wcall-ui', { mergeIframes: true,});</script> | |
| </head> | |
| <body> | |
| <h1>Этот контент вне фрейма</h1> | |
| <input type="text" > | |
| <iframe src="http://localhost:5000/index2.html"> | |
| </iframe> |
| /* | |
| * Handling Errors using async/await | |
| * Has to be used inside an async function | |
| */ | |
| try { | |
| const response = await axios.get('https://your.site/api/v1/bla/ble/bli'); | |
| // Success 🎉 | |
| console.log(response); | |
| } catch (error) { | |
| // Error 😨 |