Fetch JSON API - JavaScript Object Notation

JSON - JavaScript Object Notation is a lightweight data-interchange format.
This page contains sample JSON objects to help developers test their applications


Get started with jQuery and Ajax

//include jquery library
<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>

//test urls with ajax
$.ajax({
    url:'/api/user',
    method:'POST',
    data:{id:'5'},
    success:function(result){
        console.log(result);
    }
});