Last active
August 18, 2022 21:10
-
-
Save cdiaz/a48dc7cbb4fb3dbfa555e016a5aae1dd to your computer and use it in GitHub Desktop.
Consulta NIT en el Registro Único Empresarial y Social (RUES)
This file contains 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 request = require('request'); | |
// Digite el NIT sin puntos ni guiones, el dígito de Verificación no es requerido. | |
request.post( | |
'http://www.rues.org.co/RUES_Web/Consultas/ConsultaNIT_json', | |
{ form: {strNIT: '891190346' } }, | |
function (error, response, result) { | |
if (!error && response.statusCode == 200) { | |
console.log(result) | |
} | |
} | |
); |
Ya no funciona no se encuentra la ruta http://www.rues.org.co/RUES_Web/Consultas/ConsultaNIT_json :(
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hola @alexramdesigner , segun veo el error el conflicto es con illuminate/support el cual es el que utilizo para determinar la versión compatible de Laravel.
Que versión de Laravel estas usando ?