0
下載一排附件我指以下鏈接使用智能表API C#
,並使用以下行 -
public void downloadAttachment(Attachment attach)
{
SmartsheetRequest getAttachment = new SmartsheetRequest { callURL = "/attachment/" + attach.Id, method = "GET", contentType = "application/json" };
var jsonGetAttachment = getAttachment.MakeRequest("null");
getAttachment.DownloadAttachment(jsonGetAttachment["url"], jsonGetAttachment["sizeInKb"], jsonGetAttachment["name"]);
}
下載附件。
但以下行
Stream responseStream = request.GetResponse().GetResponseStream();
在 「makeRequest的」 方法
給出 「遠程服務器返回一個錯誤:(404)未找到」。錯誤。