jquery - getJSON not displaying data with Web API -


If I run this code, JSON data is being returned correctly from Fidder, The page can not appear in the HTML at all. I'm trying a bit simpler to start with showing JSON data which is back with JS alert. I have written that there can be such a thing to work in other programs, but it is not able to understand why this is not working because Fidler data is coming back in the right JSON format every time. I believe my code below only runs the first line and then locks Please advise, thank you.

  $ .getJSON ('http: // 199 ...: 8010 / api / values ​​/', {id: '000101'}, function (data) {$ .ei (Data, Function (Index, Revenue Center) {Warning (in addition to Revenue Contributions);});});  

Enter image details here

this "", "Total": "", "", "", "", "Member ID": "000102", "Charged": "20140218", "Tracking Number": "", "" - 874.00 "," PST " "PAYMENT CK: 007591 (1)", "Sales Amount": "- 874.00", "Service Charge": "- 874.00", "PST" "ChitCode": "PAYMNT", "Signer": Null, "Blank2": null}, {"blank": "STATEMENTDATE": "20,140,228", "MemberID": "000,102" "Chargedate": "", "Total number": "20140222", "Tracking number": "192538", "Details": "Snack Bar", "Sales Amount": "2.00", "Service Charge": "2.00", "PS "": "2.57", "Chitkod": "192738", "Signature": blank, "Blank 2": null}

If I run the API call manually then this browser "", "Statement": "20140228", "MemberEid": "000102", "Charged": "20140218", "Tracking Number": "PAYMNT", "Details": " Payment: CK: 0075 9 1 (1) "," Sales Amount ":" -874.00 "," Service ":" -874.00 "," PST ":" 0.00 "," Total ":" -874.00 "," Chittode " "Payment", "Signer": Empty, "blank 2": blank "Empty": "Statement date": "20140228", "Sad "Total number": "2.57", "total number": "1": "000102", "charget": "20140222",

  "blank" 9, 2738 "," description ":" snack bar "," salesmount ":" 2.00 "," service charge ":" 2.00 "," PST "ChitCode": "192738", "signatory": blank, "Blank2": Blank  

},

try this

< Pre> $ Ajax ({type: "POST", url: "here your url !!", data type: "jason", success: function (obj) {// your code here}, error: function () {// exception exception here }});

Comments

Popular posts from this blog

Editing Python Class in Shell and SQLAlchemy -

import - Python ImportError: No module named wmi -

uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -