News for hackers. Stuff that matters.
Re:When REST isn't Good Enough by smacktoward on Tuesday November 20, 2012 @12:48PM (#4810163)
Congratulations, you just invented JSON-RPC (http://www.jsonrpc.org/).
Re:When REST isn't Good Enough by pixie_ on Tuesday November 20, 2012 @01:25PM (#4810382)
I'm not saying how the parameters or return values should be formatted other than the fact they're in JSON format. JSON-RPC requires you to conform to their specifications.
Re:When REST isn't Good Enough by bct on Tuesday November 20, 2012 @01:31PM (#4810423)
APIs that ignore the realities of distributed computing and that each have different special-snowflake wire formats requiring tedious documentation: the worst of both worlds.
Re:When REST isn't Good Enough by pixie_ on Tuesday November 20, 2012 @01:40PM (#4810480)
I'm not arguing against implementing an RPC if that's what you need. My original post describes a super set of JSON-RPC.
Re:When REST isn't Good Enough by drivebyacct2 on Tuesday November 20, 2012 @02:46PM (#4810916)
Your post implies a pseudo-free-for-all and defeats the purpose of having a conversation about a standard exchange format.

You basically have said "I want to make it work the way I want it and I don't care if it's non-standard and unintuitive.". You're welcome to do that, but everyone who needs to work with it will hate you. And when you've been working on it for 2 months, or take a two month break, you'll come back and hate yourself too...