Skip to content

Commit 3b6346f

Browse files
committed
[README] Update snippet code
1 parent 4660754 commit 3b6346f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ use PH7\JustHttp\StatusCode;
4141

4242
StatusCode::OK; // This is 200
4343

44+
StatusCode::CREATED; // 201 code
45+
4446
StatusCode::NOT_FOUND; // 404
47+
48+
StatusCode::INTERNAL_SERVER_ERROR; // 500
4549
```
4650

4751
## 😋 Who cooked it?

0 commit comments

Comments
 (0)