如何使用HTTP参数修复未定义的索引错误?

I have some code in PHP 5. The code is simple - get data from a form in the site using ajax, and send it to mail.

But the code doesn't get the parameters from the POST call.

I have tried it in Postman and the code still doesn't read the parameters.

Image of Postman:

The call

The result

The code in short:

$name = $_POST["name"];
$email = $_POST["email"];
$message = $_POST["message"];

What's the problem?


EDIT:

I've changed the code from $_POST to $_GET - now it working in Postman, but in ajax the error still here,
The ajax (with Jquery):

$.ajax({
        type: "POST",
        url: "http://doodlevideo.co.il/php/form-process.php",
        data: {name: name_val, email: email_val, msg_subject: msg_subject_val, msg_subject_option: msg_subject_option_val, message: message_val},
        success : function(text){
            if (text == "send"){
                formSuccess();
            } else {
                formError();
                submitMSG(false,text);
            }
        }
    });