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>
Wed 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>
Wed 4:39
4/2/15