Skip to content

Commit

Permalink
Update chatpost.html
Browse files Browse the repository at this point in the history
  • Loading branch information
billdoering authored Nov 26, 2024
1 parent 86bf9e3 commit 6b52052
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/guidelines/chatpost.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</head>
<body>

<h1>Send Message to Claude API</h1>
<h1>Send Message to Campus Cloud Claude Chatbot API</h1>

<label for="messageInput">Enter your message:</label>
<textarea id="messageInput" rows="5" placeholder="Type your message here..."></textarea>
Expand All @@ -52,7 +52,8 @@ <h1>Send Message to Claude API</h1>
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${apiKey}`, // Add the API Key here (if required)
//'Authorization': `Bearer ${apiKey}`, // Add the API Key here (if required)
'X-Api-Key': `${apiKey}`, // or whatever the API requires
},
body: JSON.stringify({
// The body should be according to the API specification, including required parameters
Expand Down

0 comments on commit 6b52052

Please sign in to comment.