Search the Community

Showing results for tags 'getjson'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Resilio Sync
    • Sync General Discussion
    • Sync Troubleshooting
    • Sync for NAS (Network Attached Storage)
    • Sync Stories
    • Developers
    • Feature Requests

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Wurstmann

    API V2 - GET JSON

    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?