This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| let https = require( "https" ); | |
| const token = "aqui coloca o token da api"; | |
| const options = { | |
| headers: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Realiza a configuração inicial para dispositivos da TP-Link. | |
| Se o dispositivo estiver com a tag NOT_PROVISION o script não será executado. | |
| Se o usuário do PPPOE estiver correto, o script não será executado. | |
| */ |