From f0bfecf22773ca962fd2abcdb3bbf8b7e6257e22 Mon Sep 17 00:00:00 2001 From: Arjun Adhikari <46340446+arjunQ21@users.noreply.github.com> Date: Wed, 7 Apr 2021 14:22:17 +0545 Subject: [PATCH] including optional "message" field for "fail" status --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5fca82..8d42e38 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ When setting up a JSON API, you'll have all kinds of different types of calls an - +
TypeDescriptionRequired KeysOptional Keys
successAll went well, and (usually) some data was returned.status, data
failThere was a problem with the data submitted, or some pre-condition of the API call wasn't satisfiedstatus, data
failThere was a problem with the data submitted, or some pre-condition of the API call wasn't satisfiedstatus, datamessage
errorAn error occurred in processing the request, i.e. an exception was thrownstatus, messagecode, data