final version
This commit is contained in:
@@ -13,7 +13,7 @@ import requests
|
||||
import json
|
||||
|
||||
# 设置基础URL和认证令牌
|
||||
BASE_URL = "http://localhost:8000/api/v1"
|
||||
BASE_URL = "http://localhost:8001/api/v1"
|
||||
headers = {
|
||||
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
|
||||
"Content-Type": "application/json"
|
||||
@@ -23,7 +23,7 @@ headers = {
|
||||
### JavaScript 示例
|
||||
|
||||
```javascript
|
||||
const BASE_URL = "http://localhost:8000/api/v1";
|
||||
const BASE_URL = "http://localhost:8001/api/v1";
|
||||
const headers = {
|
||||
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
|
||||
"Content-Type": "application/json"
|
||||
@@ -828,7 +828,7 @@ from algorithm_showcase.client import AlgorithmShowcaseClient
|
||||
|
||||
# 初始化客户端
|
||||
client = AlgorithmShowcaseClient(
|
||||
base_url="http://localhost:8000",
|
||||
base_url="http://localhost:8001",
|
||||
api_key="YOUR_API_KEY"
|
||||
)
|
||||
|
||||
@@ -851,7 +851,7 @@ import { AlgorithmShowcaseClient } from '@algorithm-showcase/sdk';
|
||||
|
||||
// 初始化客户端
|
||||
const client = new AlgorithmShowcaseClient({
|
||||
baseUrl: 'http://localhost:8000',
|
||||
baseUrl: 'http://localhost:8001',
|
||||
apiKey: 'YOUR_API_KEY'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user