Api change on the options: {apiHeader, apiGateway} replaces {requestHeaders, requestGateway}. Also added capability to override middleware’s initial headers for a particular XHR request, e.g. Content-Type, or any other header set on the middleware at creation.
Api change on the options: {apiHeader, apiGateway} replaces {requestHeaders, requestGateway}. Also added capability to override middleware’s initial headers for a particular XHR request, e.g. Content-Type, or any other header set on the middleware at creation.

celikmus/redux-xhr-middleware