{"version":"1.0","type":"rich","title":"ajaxit, a simple ajax wrapper for CRUD","description":"This example demonstrates ajaxit, a lightweight JavaScript wrapper that simplifies AJAX requests for CRUD operations. It shows how the wrapper exposes methods like `ajaxIt.get`, `ajaxIt.create`, `ajaxIt.update`, and `ajaxIt.delete`, each built on the core `doIt` function. The code uses the native `XMLHttpRequest` API, handling different HTTP methods (GET, POST, PUT, DELETE) and expected status codes, while supporting form data submission through the `FormData` constructor. It also resolves relative paths against `window.location.origin`, making it suitable for same-origin requests without additional configuration.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3f9509260c27b7702503ca5b3392527f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}