2022 Oct 04 4:57 PM
Hi!
I am trying to call the SAP api of my client to get products, order status, or send order.
This is my php code in order to login to SAP:
http://clients.vincent-blondaux.fr/sap/
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://rds.creamande.privatcloud.biz:50000/b1s/v2/Login',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"CompanyDB": "'.CURL_COMPANY.'",
"UserName": "'.CURL_USERNAME.'",
"Password": "'.CURL_PASSWORD.'"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept' => 'application/json',
'Access-Control-Allow-Origin' => '*',
),
CURLOPT_COOKIEJAR => $ckfile,
));
Curl error: Failed to connect to rds.creamande.privatcloud.biz port 50000: Connection timed out (or 504 Gateway Time-out via Postman or Insomnia).The service provider who installed the software at my client's shop tells me that the IP of the server making the call has been added to the whitelist.
I don't have any leads on where the problem is coming from. Does anyone have an idea?
Thanks a lot!
Vincent
Hi!
I am trying to call the SAP api of my client to get products, order status, or send order.
This is my php code in order to login to SAP:
http://clients.vincent-blondaux.fr/sap/
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://rds.creamande.privatcloud.biz:50000/b1s/v2/Login',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"CompanyDB": "'.CURL_COMPANY.'",
"UserName": "'.CURL_USERNAME.'",
"Password": "'.CURL_PASSWORD.'"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept' => 'application/json',
'Access-Control-Allow-Origin' => '*',
),
CURLOPT_COOKIEJAR => $ckfile,
));
Curl error: Failed to connect to rds.creamande.privatcloud.biz port 50000: Connection timed out (or 504 Gateway Time-out via Postman or Insomnia).The service provider who installed the software at my client's shop tells me that the IP of the server making the call has been added to the whitelist.
I don't have any leads on where the problem is coming from. Does anyone have an idea?
Thanks a lot!
Vincent
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |