Skip to content

Files

Latest commit

4401719 · Aug 11, 2016

History

History
15 lines (14 loc) · 312 Bytes

ApiResponseStandard.md

File metadata and controls

15 lines (14 loc) · 312 Bytes

A standard for sending data as response for a API call

{
    "httpCode": "200|203|404...",
    "type": "SUCCESS|WARNING|ERROR...",
    "message": "Can be an error message or just an OK",
    "data": [
        "actual",
        "data",
        "or", 
         ["arrays", "or", "whatever"]
    ]
}