最近搜索
没有最近搜索

Carl Bramblett
已加入2024年5月03日
·
最后活动2025年1月21日
关注
0
关注者
0
活动总数
30
投票
4
订阅
15
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Carl Bramblett
Carl Bramblett 进行了评论,
Thanks Tuomas Savonius! Looks like that is exactly the case. Erica Girges when you mentioned the issue has been resolved would you mind letting us know what we are missing?
查看评论 · 已于 2025年1月11日 发布 · Carl Bramblett
0
关注者
0
投票
0
评论
Carl Bramblett 进行了评论,
I agree, too. The only way I was able to get it to work was to use a regular fetch request that necessitated including API credentials which is far from optimal. I'm considering using secure parameters as is done for third-party requests, but it would be great to just have support in the ZAF client.
const currenturl = `https://.zendesk.com/api/v2/uploads.json?filename=${encodeURIComponent(file.name)}`
let zendeskEmail = 'youruser@email.com';
let zendeskApiToken = 'yourapitoken';
let auth = 'Basic ' + btoa(zendeskEmail + '/token:' + zendeskApiToken);
const request = await fetch(currenturl, {
method: 'POST',
headers: {
'Content-Type': 'application/binary',
'Authorization': auth
},
body: file
});
const uploadResponse = await request.json();
查看评论 · 已于 2024年12月26日 编辑 · Carl Bramblett
0
关注者
0
投票
0
评论
Carl Bramblett 进行了评论,
Hi Ivan, I know this is an older post and you've probably already solved it, but just in case it's useful to anyone…I believe JavaScript apps would require OAUTH to be setup to get around CORS restrictions. https://developer.zendesk.com/documentation/ticketing/using-the-zendesk-api/making-cross-origin-browser-side-api-requests/
查看评论 · 已于 2024年8月29日 发布 · Carl Bramblett
0
关注者
0
投票
0
评论
Carl Bramblett 创建了一个帖子,
Hi all,
I am working on my company's first Zendesk private app. So far, I'm finding it really powerful with one exception: it seems to not work when I try to use multiple pages. I am using vanilla JS. Is it possible to have more than one file in addition to iframe.html? Thanks in advance for the advice.
Carl
已于 2024年5月25日 发布 · Carl Bramblett
0
关注者
2
投票
2
评论
Carl Bramblett 进行了评论,
Is there a way to search for an unsuspended ticket? I know /api/v2/ticket_audits lists all kinds of events including the "SuspendedTicketRecovery" type, but it'd be nice to be able to search for just formerly suspended tickets.
查看评论 · 已于 2024年5月15日 发布 · Carl Bramblett
0
关注者
0
投票
0
评论
Carl Bramblett 进行了评论,
Hi Tipene, Zendesk Support ended up pointing out that I had made the simple mistake of missing the protocol (https) in Postman. My bad! The strange part was that neither Postman, nor Zendesk gave me an error to clue me in. Thanks for your reply!
查看评论 · 已于 2024年5月06日 发布 · Carl Bramblett
0
关注者
0
投票
0
评论