Ajax method in jquery is used to make HTTP requests with the server. GET request $ ( document ) . ready ( function ( ) { $ . ajax ( { url : "https://fakerestapi.com/api/v1/todo_lists/" , type : "GET" , dataType : "json" , success : function ( response ) { $ . each ( response , function ( index , data ) { $ ( "#result" ) . append ( data . title ) } ) } } ) } ) ;
ruby on rails cheat sheet, ruby libraries, ruby on rails concepts, rails tutorials for beginner, ruby on rails