I ma trying to upload an image to min.us programmaticall y with their API.
The information they give to do so are :
UploadItem
* http://min.us/api/UploadItem
Parameters
* URL should be structured as follows: http://min.us/api/UploadItem?edit or_id=enRlK&key =ej0rg&filename =jcm3U.png
* Body: A standard multipart file POST.
I tried:
Any help would be appreciated
The information they give to do so are :
UploadItem
* http://min.us/api/UploadItem
Parameters
* URL should be structured as follows: http://min.us/api/UploadItem?edit or_id=enRlK&key =ej0rg&filename =jcm3U.png
* Body: A standard multipart file POST.
I tried:
Code:
string uploadRequestString = "http://min.us/api/UploadItem?editor_id=wfwee&key=key&filename=1.png";
string responseString = Encoding.ASCII.GetString(new WebClient().UploadFile(uploadRequestString, "POST", path));
Comment