Last active
November 19, 2020 08:24
-
-
Save simonplend/23a173b4cbfaac0da282c55f3ff195b4 to your computer and use it in GitHub Desktop.
Revisions
-
simonplend revised this gist
Nov 17, 2020 . No changes.There are no files selected for viewing
-
simonplend created this gist
Nov 17, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ HTTP/1.1 400 Bad Request Content-Type: application/problem+json Content-Language: en { "type": "https://example.net/validation-error", "title": "Your request parameters didn't validate.", "invalid-params": [ { "name": "age", "reason": "must be a positive integer" }, { "name": "color", "reason": "must be 'green', 'red' or 'blue'" } ] }