Alerts for get and post methods.