Work with your assigned partner to extend the in-class example to authentication checks to the REST resources.
Users should not be able to make POST, PUT, and DELETE requests to Customer and Product unless they have logged in with a username and password. Return responses like these examples:
{"Message": "Product successfully added",
"Status": 202
}
{"Message": "Unauthorized",
"Status": 401
}
This page was last modified on 2026-08-19 at 20:15:09.
George Fox University · 414 N Meridian St · Newberg, Oregon 97132 · 503-538-8383
Copyright © 2018–2026 George Fox University. All rights reserved.