|
|
|
|
|
by heterogenic
4425 days ago
|
|
Help me out here HN... I remember somewhere seeing an API format where you passed up the empty JSON object which you wanted filled and returned. Something like: (request)
{username:"",address:"",credits:""}
(response)
{username:"Manilow, Barry", address:"Hollywood Bowl", credits: 99}
Clearly not optimal, but it worked pretty well and was very intuitive. |
|