REST -
API
|
kundli
|
swagger
|
input
|
schema, format, syntax --> rules
validation
-x-x-x-
- auth, public --> caching
- auth --> always check permission for role (middleware)
- permission check done --> validation of input (use a validator)
- input schema at least should be available to front-end
- reply (response) --> only necessary parameters
- transaction, multi-model interaction,
JSON:
data
human readable,
transport data,


Comments
Post a Comment