Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $http({
- method: 'GET',
- headers: {
- username: params.username,
- password: params.password,
- 'Accept': 'application/json'
- },
- timeout: 15000,
- url: 'urlnya'
- }).then(function successCallback(response) {
- console.log(response.data); // Dapet Key
- },function errorCallback(response) {
- console.log(response)
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement