yii 2 ajax call

 $.ajax({
            url: Yii.createUrl('/site/save-session-notification'),
            type: 'POST',
            data: {
                notification_read_status: checkbox_val,
                notification_type_id:'2'
             },                        
            success: function (data) {
              console.log("response here");
            },
            error: function (error) {
              console.log(error);
            }
        });
public function actionSaveSessionNotification()
    {
        print_r($_POST);
        die("====");
    }