I have a model called post.
Apart from the restful apis, I have a non restful api POST /posts/{post-id}/reschedule.
How do I define and use the method for this custom api in my rest-adaptor?
I would want to call myPostObj.reschedule(someParams).
Aucun commentaire:
Enregistrer un commentaire