Added comments to best describe GET and POST logic.