As ben_jones stated, a client and server need a formalized contract or you're doomed to break things. Whatever you use needs to at a minimum be:
- internally consistent
- sufficiently documented that a developer on either side understands what the other side does
REST is just a set of rules to follow that attempt to avoid some pitfalls and provide a common parlance.
REST is just a set of rules to follow that attempt to avoid some pitfalls and provide a common parlance.