EC5 API (Public)

Testing EC5 API

by ParanoidAndroid77

HTML

<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<pre class="content"></pre>

JavaScript

function _getEntries() {
   $.ajax({
     url: 'https://five.epicollect.net/api/export/entries/ec5-api-test',
     type: 'GET',
     contentType: 'application/vnd.api+json',
     success: function(response) {
       $('.content').text(JSON.stringify(response, null, 2));
     },
     error: function(xhr, status, error) {
       console.log(xhr.responseText);
        $('.content').text(xhr.responseText);
     }
   });
 }
 
 _getEntries();