chore(test): Update database list command to request JSON format (#6776)

pull/6777/head
Jason Stirnaman 2026-01-29 11:51:11 -06:00 committed by GitHub
parent 061c48ab09
commit 0a10bc1ce9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,7 @@ curl -X POST "http://localhost:8181/api/v3/configure/database" \
-d "{\"db\": \"${WORKTREE_NAME}_db\"}"
# List databases to verify
curl "http://localhost:8181/api/v3/configure/database" \
curl "http://localhost:8181/api/v3/configure/database?format=json" \
-H "Authorization: Bearer $ADMIN_TOKEN"
```
@ -243,6 +243,7 @@ curl -i http://localhost:8181/ping -H "Authorization: Bearer $INFLUXDB3_ENTERPRI
```
**Token File Format** (both Core and Enterprise):
```json
{
"token": "64-character-hexadecimal-token",