Explain how the POST method differs from GET.?
- GET → Used to retrieve data, should not modify server state, and can be
cached/bookmarked.
- POST → Used to create new resources or submit data. It modifies server state, is
not idempotent, and cannot be cached.