If your page triggers an ajax request, you can perform it manually.
This action sends an ajax request with specified method and params.
Example:
You need to perform an ajax request specifying the HTTP method.
php
sendAjaxRequest('PUT', '/posts/7', array('title' => 'new title'));