Skip to main content
Team erstellen
Fügen Sie Ihre API hinzu
Dokumente
Anmelden
Anmeldung
Team erstellen
Fügen Sie Ihre API hinzu
Dokumente
Anmelden
Anmeldung
/ morticai
Keine veröffentlichten APIs
Dieser Benutzer hat noch keine APIs veröffentlicht
Diskussionen
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>
Mi. 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>
Mi. 4:39
4/2/15