I am working on creating a POST version of the current GET api endpoints. And organizing the routes to a routers folder, converting the current controller scripts to modules. It will also leave the GET endpoints still usable as is.
This way we can introduce optional parameters, e.g. message or custom fees etc.
Go for it.
Please mind that new routes should be covered with acceptance tests (the way they are covered now).
Also, if those changes arent backward compatible - increase the major version number (ver 3+)
I am working on creating a POST version of the current GET api endpoints. And organizing the routes to a routers folder, converting the current controller scripts to modules. It will also leave the GET endpoints still usable as is.
This way we can introduce optional parameters, e.g. message or custom fees etc.
Thoughts on this?