Class type Ext_data_proxy_Ajax.t


class type t = object .. end
Inherits
method actionMethods : 'a. 'a Js.t Js.prop

Mapping of action name to HTTP request method. In the basic AjaxProxy these are set to 'GET' for 'read' actions and 'POST' for 'create', 'update' and 'destroy' actions. The Ext.data.proxy.Rest maps these to the correct RESTful methods.

Defaults to: {create: 'POST', read: 'GET', update: 'POST', destroy: 'POST'}

method getMethod : Ext_data_Request.t Js.t -> Js.js_string Js.t Js.meth

Returns the HTTP method name for a given request. By default this returns based on a lookup on actionMethods.

Parameters:

Returns: