Skip to main content
צור צוות
הוסף את ה- API שלך
מסמכים
להתחבר
הירשם
צור צוות
הוסף את ה- API שלך
מסמכים
להתחבר
הירשם
/ morticai
אין ממשקי API שפורסמו
משתמש זה עדיין לא פרסם ממשקי API
דיונים
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>
mer 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>
mer 4:39
4/2/15