GET and POST methods working for the Notification API