Creates an ajax call function.
The method of the ajax call.
The name of the call.
The url of the call.
The function to call when preparing the request.
The function to call after the request has finished.
See Implementation
Creates an ajax call function.