最近搜索


没有最近搜索

Will Ryan's Avatar

Will Ryan

已加入2021年4月15日

·

最后活动2023年3月14日

关注

0

关注者

0

活动总数

7

投票

2

订阅

2

活动概览

的最新活动 Will Ryan

Will Ryan 进行了评论,

社区评论 Developer - Zendesk APIs

This is the only thing that would work for me. If i didn't do it like this, a blank image was appearing in the response:

$fileName = 'test.png';
$filePath = 'test.png';

$url = 'https://test.zendesk.com/api/v2/uploads.json?filename=' . urlencode($fileName);
$file = fopen($filePath, "r");
$mimeContentType = mime_content_type($file);
$size = filesize($filePath);


$ch = curl_init($url);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER ,true);
curl_setopt($ch, CURLOPT_POST ,true);
curl_setopt($ch, CURLOPT_POSTFIELDS, file_get_contents($filePath));
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-type: {$mimeContentType}"));
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_USERPWD, "test@test.com/token:XXXXXXXXXXXXXXXXXXX");
$output = curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
fclose($file);
curl_close($ch);

查看评论 · 已于 2023年3月14日 发布 · Will Ryan

0

关注者

0

投票

0

评论


Will Ryan 进行了评论,

社区评论 Feedback - Ticketing system (Support)

Unfortunately, Zendesk appears to have lost any focus on responding to customer needs. This feature is rather simple, lots of people want it, but still, requests are simply ignored.

I have two existing clients on Zendesk, and if it weren't a complete nightmare, I'd migrate them to one of Zedesk's more agile competitors. For new clients, I do not use Zendesk.

查看评论 · 已于 2021年1月06日 发布 · Will Ryan

0

关注者

1

投票

0

评论


Will Ryan 进行了评论,

社区评论 Feedback - Ticketing system (Support)

This to me seems like a pretty basic feature. Surprised it hasn't been implemented.

查看评论 · 已于 2018年6月29日 发布 · Will Ryan

0

关注者

5

投票

0

评论