Created
January 9, 2020 20:31
-
-
Save parzibyte/08d4b51505f0a9f2ce24a98479496c67 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
"post": (ruta, datos) => | |
fetch(RUTA_SERVIDOR + ruta, { | |
credentials: 'include', | |
method: "POST", | |
body: JSON.stringify(datos) | |
}) | |
.then(r => r.json()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment