varnamproject / varnamd

Varnam daemon which also acts as a HTTP server. Deprecated. See https://github.com/varnamproject/varnamd-govarnam/
MIT License
8 stars 8 forks source link

Have a common response fields for all the API responses #8

Closed navaneeth closed 9 years ago

navaneeth commented 9 years ago

Currently, each API responds with different JSON forms. There is nothing common. We need to have a common fileds which will be available for all the responses. Something like,

{"success": true, "error": "error string"}