Sending post request after receiving a notification