Last active
May 7, 2016 13:33
-
-
Save juanwilde/7fdbefd857d1db1da66e459775f58486 to your computer and use it in GitHub Desktop.
Ejemplo de envío
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
// factory.js | |
.factory('Nombre', ['$resource', function ($resource) { | |
return $resource('http://url.api/api/login', {}, { | |
save: { | |
method: 'POST', | |
headers: {Authentication: 'tu_token_o_apikey'} | |
} | |
}); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment