Ricerche recenti
Nessuna ricerca recente

Varnish Software
Data ingresso 09 feb 2022
·
Ultima attività 10 feb 2022
Seguiti
0
Follower
0
Attività totali
6
Voti
0
Abbonamenti
2
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Varnish Software
Varnish Software ha commentato,
"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.
Visualizza commento · Data ultimo post: 10 feb 2022 · Varnish Software
0
Follower
2
Voti
0
Commenti
Varnish Software ha commentato,
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?
Visualizza commento · Data ultimo post: 10 feb 2022 · Varnish Software
0
Follower
0
Voti
0
Commenti
Varnish Software ha commentato,
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
}
})
}
Visualizza commento · Data ultimo post: 10 feb 2022 · Varnish Software
0
Follower
0
Voti
0
Commenti
Varnish Software ha creato un post,
/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.
Data ultimo post: 09 feb 2022 · Varnish Software
0
Follower
5
Voti
9
Commenti