Created
December 20, 2016 02:50
-
-
Save ianaya89/d4b35aba2b7f6e2f0076592c3ccc0298 to your computer and use it in GitHub Desktop.
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
res.download(); // Envia un archivo para descargar | |
res.end(); // Finaliza el response | |
res.json(); // Envia json | |
res.jsonp(); // Envia jsonp | |
res.redirect(); // Redirecciona el request | |
res.render(); // Renderiza un template | |
res.send(); // Envia cualquier formato | |
res.sendFile(); // Envia archivos (stream) | |
res.sendStatus(); // Envia HTTP status code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment