Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Jay Silverio
Beigetreten 05. März 2024
·
Letzte Aktivität 05. März 2024
Folge ich
0
Follower
0
Gesamtaktivitäten
2
Stimmen
0
Abonnement
1
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Jay Silverio
Jay Silverio hat einen Post erstellt
I started getting 401 error when I make a call to search the articles. I am using oauth token and sending that on the header 'Bearer'. This has worked previously and was able to get results and even tested paging and I see the results in the response. Now I get 401 unauthorized. I even tried regenerating the oauth token.
$.ajax({
url: "https://domain.zendesk.com/api/v2/help_center/articles/search.json?query=keyword",
headers : {
'Access-Control-Allow-Origin' : "*",
'Authorization' : "Bearer " + oauth
},
data : {
page : 1,
per_page : 5,
scropes: ["read"]
},
crossDomain: true,
dataType: 'jsonp',
cache: false,
type: "GET",
success: function(response) {
},
error: function(xhr) {
}
});
Gepostet 05. März 2024 · Jay Silverio
0
Follower
2
Stimmen
1
Kommentar