Version 0.7.0
- add rootUrl for init function https://github.com/lexich/redux-api#initadapter-isserver-rooturl)
- params in endpoint now merge.
const api = reduxApi({
test: {
url: "/test",
options: { headers: { "Content-type": "application/json" } }
}
}).init(....);
api.actions.test.request(null, { headers: { "token": "test-token" } });