Comments (4)
Is there any guidelines on success/error json right now?
I think a response like:
{
"code": 404,
"message": "Not found"
}
(basically generally a code + message field) should suffice? Any more information you want to respond with?
from groot-api-gateway.
I think that works, unless there is an error in the middle, the proxy will
forward whatever you send it
On Sun, Nov 15, 2015 at 9:50 PM Rohan Mathur [email protected]
wrote:
Is there any guidelines on success/error json right now?
I think a response like:
{
"code": 404,
"message": "Not found"
}(basically generally a code + message field) should suffice? Any more
information you want to respond with?—
Reply to this email directly or view it on GitHub
acm-uiuc/groot#24 (comment).
from groot-api-gateway.
Cool, will do. Thanks!
from groot-api-gateway.
closed with acm-uiuc/groot#42
from groot-api-gateway.
Related Issues (20)
- Hardware Service HOT 6
- Resume Service HOT 1
- Quote Database HOT 2
- Event Service HOT 1
- Meme Service HOT 1
- Service status monitor HOT 2
- Groot's backyard HOT 1
- Figure out mailing list management system HOT 1
- unified payment system service HOT 3
- Non-200 HTTP Response Bodies Dropped by proxy HOT 2
- Remove Sensitive Transactions from Logs HOT 2
- Much Better Sanitizer HOT 1
- Introduce Websockets as a protocol option HOT 1
- Parse schema files and generate a set of online documentation HOT 1
- Make route handlers optional HOT 1
- Store MySQL credentials in environment HOT 1
- Update Gopkg.{toml, lock}
- SQLite locking prevents creating access tokens while api-gateway is running HOT 1
- Add live-reloading to api-gateway for development
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from groot-api-gateway.