최근 검색
최근 검색 없음

Varnish Software
가입한 날짜: 2022년 2월 09일
·
마지막 활동: 2022년 2월 10일
팔로잉
0
팔로워
0
총 활동 수
6
투표 수
0
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Varnish Software
Varnish Software님이 에 댓글을 입력함
"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님이 에 댓글을 입력함
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님이 에 댓글을 입력함
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님이 에 게시물을 만듦
/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
댓글