This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RPC - non uniform API for creating an entity | |
Long createGreeting(Greeting greeting) | |
Long newFortune(Fortune fortune) | |
----------------------------------------------- | |
REST - uniform entity creation | |
POST /greetings {“message”: “Hello”} | |
POST /fortunes {“fortune”: “This is a fortune”} |
NewerOlder