Skip to content

Commit

Permalink
fix: http示例url展示方式变更--bug=127866017
Browse files Browse the repository at this point in the history
  • Loading branch information
q15971095971 committed Jul 24, 2024
1 parent 1a7f90d commit c332459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ token = {{ .Bk_Bscp_Variable_ClientKey }}
labels={{ .Bk_Bscp_Variable_Leabels }}

# 使用参数构建URL
url = f"{{ .Bk_Bscp_Variable_FEED_ADDR }}/api/v1/feed/biz/{biz_id}/kvs/value/{key_name}"
url = f"${feed_addr}/api/v1/feed/biz/{biz_id}/kvs/value/{key_name}"

# 设置请求头,包括Authorization token
headers = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ token={{ .Bk_Bscp_Variable_ClientKey }}
labels={{ .Bk_Bscp_Variable_Leabels }}

# 使用参数构建URL
url="{{ .Bk_Bscp_Variable_FEED_ADDR }}/api/v1/feed/biz/${biz_id}/kvs/value/${key_name}"
url="${feed_addr}/api/v1/feed/biz/${biz_id}/kvs/value/${key_name}"

# 设置请求头,包括Authorization token
auth_header="Authorization: Bearer ${token}"
Expand Down

0 comments on commit c332459

Please sign in to comment.