I have created a JSON object using php functionality
The Object is formulated this way:
$object_array=array('value1' => $value1, 'value2' => $value2); $json_output = json_encode($object_array, JSON_UNESCAPED_SLASHES);
I need to post the
$json_output to a URL using the 'cUrl' functionality of PHP.
Can anyone suggest something based on the above code ?
Post json objectusing curl.