QR code generator with multiple datatypes .

फ़्री
द्वारा Ajith Joseph | अपडेट किया गया 20일 전 | Tools
लोकप्रियता

8.9 / 10

लेटेंसी

607ms

सेवा का स्तर

85%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Javascript API does not work. Need API Provider help.

Rapid account: Charu 2016
charu_2016
8년 전

My api key is used to get json data. However, it is not working. I am not sure about the url value. Could you please help me?

Hi. I need API Provider help. I sent you code example for QR Code generate. I’m using .net framework but I want to do it by jquery ajax. I have already submitted my code sample earlier. Could you guys help me please? I will be a paid user after getting this fixed. Before paid user, I need to check whether everything is working or not. Could you help me please?

<p>function doIt() {
debugger;
var output = $.ajax({
url: ‘https://codzz-qr-cods.p.mashape.com/api’, // The URL to the API. You can get this by clicking on “Show CURL example” from an API profile
type: ‘GET’, // The HTTP Method, can be GET POST PUT DELETE etc
data: {
“TYPE”: “text”,
“DATA”: {
“TEXT”: " kibria"
}
}, // Additional parameters here
setting: {“LAYOUT”:{“COLORBG”:“ffffff”,“GRADIENT<em>TYPE”:“NO</em>GR”,“COLOR1”:“000000”},“EYES”:{“EYE<em>TYPE”:“Simple”},“E”:“M”,“BODY</em>TYPE”:0},
dataType: ‘json’,
success: function (data) {
debugger;
//
//Change data.source to data.something , where something is whichever part of the object you want returned.
//To see the whole object you can output it to your browser console using:
//console.log(data);
document.getElementById(“output”).innerHTML = data.source;
},
error: function (err) { alert(err); },
beforeSend: function (xhr) {
xhr.setRequestHeader(“X-Mashape-Authorization”, “kUcbdBUQ9qmshmdah8b8lPNcEeKZp1HFCETjsn2ETzw2SCvo0w”);
}
});}</p>

<pre><code>
</code></pre>

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें