Skip to content

Commit

Permalink
refactor: Update headers' names for API request
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanzhi33 committed Jul 18, 2024
1 parent 6a8fcbb commit 947f7cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ <h1 class="text-center">Data</h1>
method: "POST",
headers: {
"Content-Type": "application/json",
"xuanzhi33-name": this.username,
"xuanzhi33-token": this.token
"Xuanzhi33-User": this.username,
"Xuanzhi33-Token": this.token
},
body: JSON.stringify({
page: this.page,
Expand Down

0 comments on commit 947f7cf

Please sign in to comment.