For any change, refer to the README for more details.
Initialization of a restful object has changed.
The polyfill for native promise is no longer included in restful.js, you must include it on your own if needed.
All methods customUrl
, allUrl
and oneUrl
are replaced by a custom
method.
The remove
method of an entity is now named delete
.
- entity.remove()
+ entity.delete()
All HTTP methods have now normalized parameters in this order data, params, headers
.
data
depends on the method.