cURL php请求ASP

I am trying to send a post value to my asp file. The issue is I have tested using POSTMAN tool to check if my request and response is correct. But when I try to send the request using php it keep returning false. I cant seem to correct the issue. I have searched stackoverflow how to make cURL request using POST but all return false as response.

I should be receiving "ALLOWED" value as response in php but all i am getting "false" value.

PHP

$EmployeeNo = "BCB0001";
$PASSWORD = "3333";


$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, MY-ASP-URL);
curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS, 
         http_build_query(array('EmployeeNo' => $EmployeeNo, 'PASSWORD' => $PASSWORD)));

// Receive server response ...
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$server_output = curl_exec($ch);

echo $server_output;

curl_close ($ch);

ASP

ID = Request("EmployeeNo")
Password = Request("PASSWORD")

Dim ALLOWED,NOT_ALLOWED
ALLOWED = 1
NOT_ALLOWED = 0

If ID = "" Then 
    Response.Write(NOT_ALLOWED)
Elseif getData("UserID","tablenane","UserID",ID) <> "" then 

    Dim chkID,chkPass'Edit By Shun
    chkID = getData("UserID","tablenane","UserID",ID)
    chkPass = getData("Password","tablenane","UserID",ID)

    if chkID = ID AND AESDecrypt(chkPass,theAESKey.AESKey) = Password then 'verify password
        Response.Write(ALLOWED)
    else
        Response.Write(NOT_ALLOWED)
    end if
end if