From 22cb333abbc35dd037c875c8830aac4dccc3c35f Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sun, 16 Dec 2018 18:33:05 -0500 Subject: [PATCH] setting up next section --- API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/API.md b/API.md index f77892b..e5ba6be 100644 --- a/API.md +++ b/API.md @@ -135,3 +135,5 @@ header('Content-Type: application/json'); This is meta data meant just for the client application (the browser). It isn't part of the response body, so the end user won't see it. If you look at http://localhost:8888/people, you won't see anything about `Content-Type: application/json`, but it will be available to your AJAX libraries/frameworks. **NOTE**, this code has to come at the top of the file, before any content is written to response body. + +## Hook the People model up to the database