最近搜索


没有最近搜索

Vinh Giang Vovan's Avatar

Vinh Giang Vovan

已加入2023年1月16日

·

最后活动2023年2月06日

关注

0

关注者

0

活动总数

7

投票

3

订阅

2

活动概览

的最新活动 Vinh Giang Vovan

Vinh Giang Vovan 进行了评论,

社区评论 Developer - Zendesk APIs

Hi Christopher,
Thank you for asking. We could resolve the issue.
We made a mistake in the json format for the query: 
"comment": "Test",
instead of 
"comment": { "body": "Test" },
We were suprised that this triggered a CORS error rather than some sort of functional "wrong format' error -- which led our investigations in the wrong way in the first place.



查看评论 · 已于 2023年1月19日 发布 · Vinh Giang Vovan

0

关注者

0

投票

0

评论


Vinh Giang Vovan 进行了评论,

社区评论 Developer - Zendesk APIs

Hello, I'm facing the same issue. Did you figure out a solution?
I'm using https://{subdomain}.zendesk.com/api/v2/requests.json without authentication (allowing anonymous requests).

The call is from a regular web page, in javascript, in a similar way to the example above.

I also understand from the documentation that this issue should not happen.

https://developer.zendesk.com/documentation/ticketing/using-the-zendesk-api/making-cross-origin-browser-side-api-requests

Exceptions: A few Zendesk API endpoints don't require any authentication at all. They include the Create Request and Search Articles endpoints. CORS is implemented for these endpoints.

Thank you.

查看评论 · 已于 2023年1月16日 发布 · Vinh Giang Vovan

0

关注者

0

投票

0

评论