Skip to content

Commit

Permalink
Merge pull request #10 from bryanhanner/master
Browse files Browse the repository at this point in the history
updates Cognitive Services key authenication
  • Loading branch information
bryanhanner authored Feb 18, 2018
2 parents a0a78a1 + 76f7ab2 commit 6ef5b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions a11ytext.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h2>Convert PDFs and Images to Text</h2>
//**********************************************
// *** Update or verify the subscription keys' string values with your valid subscription keys for each service. ***
// **********************************************
var subKey = "3a7bbf9d9a01440f921be938e591b274";
var subKey = "21d07175a90e4c06aecad901b631ab4d";

// Replace or verify the region.
//
Expand Down Expand Up @@ -374,7 +374,7 @@ <h2>Convert PDFs and Images to Text</h2>
// Request headers.
beforeSend: function(jqXHR){
jqXHR.setRequestHeader("Content-Type","application/json");
jqXHR.setRequestHeader("Ocp-Apim-Subscription-Key", handKey);
jqXHR.setRequestHeader("Ocp-Apim-Subscription-Key", subKey);
},

type: "GET",
Expand Down

0 comments on commit 6ef5b91

Please sign in to comment.