Wurstmann Posted August 10, 2017 Report Share Posted August 10, 2017 Hello Resilio-Team, I am trying to get the JSON output from "http://127.0.0.1:****/api/v2/folders/activity" with the following code: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script> </head> <body> <script> $(document).ready(function() { $.ajax({ url: "http://127.0.0.1:50136/api/v2/folders/activity", cache: true, dataType: "jsonp", jsonp: false, jsonpCallback: false, type: "GET", complete: function(result) { alert(result); }, success: function(result) { alert(result); }, error: function(result) { console.log(result); } }); }); </script> </body> </html> Chrome Network Monitor seems to look fine: But everytime i got an error message in console: Can some one help to fetch that json data correctly? Quote Link to post Share on other sites
Wurstmann Posted August 12, 2017 Author Report Share Posted August 12, 2017 push no one here who can help me Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.