Define action data

Action object properties

When you define an action object, these are the available properties:

The url property

If there is an url property, then it's an http action, otherwise it's a store action.

The method property

The http method (get, post, put, patch, delete...). The default value is 'get'.

The methods property

Define more than one method, in a string array, e.g., ['get', 'post']. If both methods and method are defined, the method will be ignored.

results matching ""

    No results matching ""