Handle REST-API requests from or to your WordPress site using jQuery.
var posts = restjQuery();
Using WordPress just as a CMS? No problem. Place this tag in your head or just before your close body tag.
<script src="https://restjquery.com/release/latest/restjquery.min.js"></script>
Posts are loading from a WordPress demo site using RESTjQuery.
View JS source code.