Skip to content

Commit

Permalink
Update chat.html
Browse files Browse the repository at this point in the history
changed authorization header type
  • Loading branch information
billdoering authored Nov 21, 2024
1 parent ba27502 commit 5b96725
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guidelines/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ <h1>API Request Example</h1>
fetch(apiUrl, {
method: 'GET', // or 'POST' depending on the API
headers: {
//'Authorization': `Bearer ${apiKey}`, // or whatever the API requires
'X-Api-Key': `${apiKey}`, // or whatever the API requires
'Authorization': `Bearer ${apiKey}`, // or whatever the API requires
//'X-Api-Key': `${apiKey}`, // or whatever the API requires
'Content-Type': 'application/json' // or other content types based on API requirements
}
})
Expand Down

0 comments on commit 5b96725

Please sign in to comment.