Pesquisas recentes
Sem pesquisas recentes

Will Ryan
Entrou em 15 de abr. de 2021
·
Última atividade em 14 de mar. de 2023
Seguindo
0
Seguidores
0
Atividade total
7
Votos
2
Assinaturas
2
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Will Ryan
Will Ryan comentou,
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);
Exibir comentário · Publicado 14 de mar. de 2023 · Will Ryan
0
Seguidores
0
Votos
0
Comentários
Will Ryan comentou,
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.
Exibir comentário · Publicado 06 de jan. de 2021 · Will Ryan
0
Seguidores
1
Votos
0
Comentários
Will Ryan comentou,
This to me seems like a pretty basic feature. Surprised it hasn't been implemented.
Exibir comentário · Publicado 29 de jun. de 2018 · Will Ryan
0
Seguidores
5
Votos
0
Comentários