Skip to content

Instantly share code, notes, and snippets.

View ss-jablan's full-sized avatar

Jerry Ablan ss-jablan

View GitHub Profile
<?php
$requestID = session_id();
$accountID = '<account-id>';
$secretKey = '<secret-key>';
$queryString = http_build_query(array('accountID' => $accountID, 'secretKey' => $secretKey));
$url = "http://api.sharpspring.com/pubapi/v1/uploadProductImage?$queryString";
$ch = curl_init($url);