最近の検索


最近の検索はありません

Varnish Software's Avatar

Varnish Software

参加日2022年2月09日

·

前回のアクティビティ2022年2月10日

フォロー中

0

フォロワー

0

合計アクティビティ

6

投票

0

受信登録

2

アクティビティの概要

さんの最近のアクティビティ Varnish Software

Varnish Softwareさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk APIs

"Zendesk only implements CORS for API requests authenticated with OAuth access tokens. It does not implement CORS for API requests that use basic authentication (email and password) or a Zendesk API token." As of your link it also says it doesn't implement CORS for API token.

コメントを表示 · 投稿日時:2022年2月10日 · Varnish Software

0

フォロワー

2

投票

0

コメント


Varnish Softwareさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk APIs

It's actually the endpoint to get the list of the requests, and update one. Create, upload attachment worked fine. It's bit fuzzy preflight request also returns 200 and GET request too only the allow-origin header is missing. Just to continue the integration, I am using a proxy server. It would be nice to just run without the proxy. It's a usual API request with Authorization and content-type header. Don't really understand why?

コメントを表示 · 投稿日時:2022年2月10日 · Varnish Software

0

フォロワー

0

投票

0

コメント


Varnish Softwareさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk APIs
export const AXIOS_INSTANCE_PARAMS = {

baseURL: 'https://d3v-varnishsoftwarezendeskapiintegration.zendesk.com/api/v2/',

timeout: 20000

}

const token = 'token'

const instance = axios.create(AXIOS_INSTANCE_PARAMS)

export const getIssues = () => {

return instance.get('requests.json', {

headers: {

'Content-Type': 'application/json'

},

auth: {

username: 'email/token',

password: token

}

})

}

コメントを表示 · 投稿日時:2022年2月10日 · Varnish Software

0

フォロワー

0

投票

0

コメント


Varnish Softwareさんが投稿を作成しました:

投稿 Developer - Zendesk APIs

/api/v2/requests.json endpoints return status code is 200 but access-control-allow-origin header is missing and the console has "been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." message.

投稿日時:2022年2月09日 · Varnish Software

0

フォロワー

5

投票

9

コメント