修改博客信息
开发中
PUT
http://localhost:8098/admin/config/blog
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
title
string
博客标题
subtitle
string | null
博客副标题
logo
string | null
LOGO
favicon
string | null
Favicon
示例
{
"title": "string",
"subtitle": "string",
"logo": "string",
"favicon": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://localhost:8098/admin/config/blog' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
必需
errMsg
string | null
必需
data
boolean | null
必需
示例
{
"code": 200,
"errMsg": null,
"data": true
}
修改于 2024-05-13 14:12:15