Skip to main content
Crea team
Aggiungi la tua API
Documenti
Accedi
Iscriviti
Crea team
Aggiungi la tua API
Documenti
Accedi
Iscriviti
/ morticai
Nessuna API pubblicata
Questo utente non ha ancora pubblicato alcuna API
Discussioni
2
All
Questions
Answers
Title
Created at
(Click to sort ascending)
A
2
Ended up figuring out the issue. Here is the code if anyone else is trying to use this API with Angular JS $http warpper. <pre><code> var req = { method: 'GET', url: 'https://love-calculator.p.mashape.com/getPercentage?fname=nameone&sname=nametwo', dataType: 'json', headers: { 'Accept': 'application/json', 'X-Mashape-Key': 'YOU-API-KEY' }, }; $http(req).success(function(data) { $scope.data = data; console.log(data); }); }; </pre></code>
ד׳ 4:39
4/2/15
A
2
Ended up figuring out the issue. Here is the code if anyone else is trying to use this API with Angular JS $http warpper. <pre><code> var req = { method: 'GET', url: 'https://love-calculator.p.mashape.com/getPercentage?fname=nameone&sname=nametwo', dataType: 'json', headers: { 'Accept': 'application/json', 'X-Mashape-Key': 'YOU-API-KEY' }, }; $http(req).success(function(data) { $scope.data = data; console.log(data); }); }; </pre></code>
ד׳ 4:39
4/2/15