[ Ctrl + z ] Off

Dokumentasi Class wf-api-json

JSON
JSON (JavaScript Object Notation) adalah sebuah format data yang digunakan untuk pertukaran dan penyimpanan data

Type Code Results
Jquery
	
<script type="text/javascript">
$(document).ready(function(){
      $.getJSON("https://tatiye.net/api?tn=package/data/row/1/limit/1", 
      function(data){
        $.each(data, function (index, value) {
         $('#value').append('<li>'+value.data.data_ins+'</li>');
        });
    });
});
</script>

<div id="value"></div>
   
Ajax
		
<script type="text/javascript">
        var settings = {
          "async": true,
          "crossDomain": true,
          "url": "https://tatiye.net/api?tn=package/data/row/1/limit/1",
          "method": "GET",
        }
        $.ajax(settings).done(function (response) {
                $.each(response, function (index, value) {
                 $('#value').append('<li>'+value.data.data_ins+'</li>');
                });
        });
</script>

<div id="value"></div> 
	   
	

© 2020 Designed by Tatiye.net