Skip to content

Commit

Permalink
fix: uppercase http method
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiyou committed Nov 29, 2024
1 parent 5f3377f commit 227de9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/rest-api/endpoint/playground/try/Req.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function createHarRequest(

return {
url: createUrl(apiHost, path, pathValue, queryValue).toString(),
method,
method: method.toUpperCase(),
headers: Object.entries(headers()).map(([name, value]) => ({
name,
value,
Expand Down

0 comments on commit 227de9b

Please sign in to comment.