put

sends a PUT AJAX request to the server

promise put(string url, [object params,function callback] );
url
stringthe URL to load params
objectthe object with parameters that need sending to the server callback
functionthe callback function
promise"promise" of the data object

Example

webix.ajax().put("data.php", { id : "11" }).then(function(data){
    // response
    console.log(data.text());
});

Details

The callback function takes 3 parameters:

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.