A middleware that handles server requests, processing and changing actions according to the keys in its
payload and sending them to the reducers. If the action has a payload with the keys of key or
axiosRequestConfig, it will be proccessed as a RequestAction, where it calls a RESTful API and returns
either a DataAction if it successfully resolves the network request, or a ErrorAction if the network
request fails.
A middleware that handles server requests, processing and changing actions according to the keys in its payload and sending them to the reducers. If the action has a payload with the keys of
key
oraxiosRequestConfig
, it will be proccessed as aRequestAction
, where it calls a RESTful API and returns either aDataAction
if it successfully resolves the network request, or aErrorAction
if the network request fails.