Check on GET and POST requests.