OCamlPro/ez_api

Error callback is called on answers with HTTP RET code in [201, 226]

iguerNL opened this issue · 0 comments

Currently, when using get and post functions, the "success callback" only handles the case where the HTTP RET code is 200. Cases where the code is 2xx are handled by the "error callback". I don't know if it's worth it to change that.