I am trying to make an upload function for https://sharedbit.net/
i get the upload url from
and post to
response is
what i am missing here?
i get the upload url from
PHP:
$page = curl_func_sharedbit("https://sharedbit.net/upload-process/upurl",'',$cookie,$ref,0);
and post to
PHP:
$fi = randoms(43);
$fpost = array();
$fpost["name"] = $fi;
$fpost["file"] = "@".$filelocation;
$page = curl_func_sharedbit($upurl,$fpost,$cookie,$ref);
response is
Code:
{"jsonrpc" : "2.0", "result" : null, "id" : "id"}
what i am missing here?