hi,
I am trying to set-up a work flow with POST Rest node (REST Web Services extension.) The company has provided the following details:
HTTP Request
POST https://cloud.v-count.com/api/v4/vcountapi_daily
To use this example it is necessary to enable cURL extention of PHP.
<?php
$post_array = array(
'username' => "demo",
'password' => "12345",
'start_date' => "2015-01-01",
'finish_date' => "2015-01-10",
'format' => "xml",
'store' => "UK London",
);
$url = "https://cloud.v-count.com/api/v4/vcountapi";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_array);
\\POST istemi sonucu
$output = curl_exec($ch);
\\Donulen hata parametreleri
$curlerrcode = curl_errno($ch);
$curlerr = curl_error($ch);
curl_close($ch);
?>
So I’ve configured the node accordingly:
Screenshot (1)
Screenshot (2)
Screenshot (3)
But it does not work?