Setting up POST Request using REST Web Services


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

To use this example it is necessary to enable cURL extention of PHP.

        $post_array  =  array(
                    'username' => "demo",
                    'password' => "12345",
                    'start_date' => "2015-01-01",
                    'finish_date' => "2015-01-10",
                    'format' => "xml",
                    'store' => "UK London",

        $url = "";
        $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);


So I’ve configured the node accordingly:
Screenshot (1)

Screenshot (2)

Screenshot (3)

But it does not work?

Not sure if it’s the issue, but the finish date in the Curl is 10 Jan 2015, and in the header setting you have 1st Jan 2015, the same as the start date.

I tried with your other settings, and got a status 200 returned. However, the return body is simply 400. Not sure if it’s meant to return more.