Skip to content

Commit 7411b1f

Browse files
authored
Update README.md
1 parent b509e63 commit 7411b1f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,25 @@ try {
105105
}
106106
```
107107

108+
results in:
109+
110+
```php
111+
{
112+
"errors":{
113+
"title":[
114+
"The title field is required."
115+
],
116+
"body":[
117+
"The body field is required."
118+
]
119+
},
120+
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
121+
"title": "Unprocessable Entity",
122+
"status": 422,
123+
"detail": "The given data was invalid."
124+
}
125+
```
126+
108127
## Attribution
109128

110129
The bulk of this repository was copied from Laminas API Tools. I wanted to provide a

0 commit comments

Comments
 (0)