| Como me envian | Como debo guardar o devolver |
|---|---|
| 2020–11–04T00:00:00.0 | 04–11–2020 |
| 04/11/2020 | 2020–04–11 23:12:20.352 |
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
| var requestOptions = { | |
| url: 'http://jwtbuilder.jamiekurtz.com/tokens', // URL para obtener el token | |
| method: 'POST', // Método POST | |
| header: { | |
| 'Content-Type': 'application/json' // Tipo de contenido JSON | |
| }, | |
| body: { | |
| mode: 'raw', // Usa 'raw' para cuerpo en JSON | |
| raw: JSON.stringify({ | |
| "claims": { |
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
| # Función y alias para visualizar contextos | |
| function Ver-Contextos { | |
| kubectl config get-contexts | |
| } | |
| Set-Alias -Name verc -Value Ver-Contextos | |
| # Función y alias para cambiar de contexto | |
| function cambiarContexto-dev01 { | |
| kubectl config use-context AKSAKSDEV01 |