What HTTP method should I use for a login
(authentication) request? - ANSWERIf your login request
is via a user supplying a username and password then a
POST is preferable, as details will be sent in the HTTP
messages body rather than the URL. Although it will still
be sent in plain text, so always make sure to encrypt
passwords.
Three-Tier Architecture - ANSWERA client-server
configuration that is organized into three layers:
1. Presentation Layer
, - Concerned with delivering information to the user and UI
related issues
2. Business Logic Layer
- Concerned with data & data validation, dynamic content
processing, and generating content that is delivered to the
client-side
3. Data Access Layer
- Backs up Business Logic Layer and concerned with how
we store and interact with the data, typically, in the form of
a database and access this data through an API