chore: update 'post' method usages to be uppercased as per HTTP spec

This commit is contained in:
Andrew Bastin
2022-04-18 21:37:15 +05:30
parent 100e562dcc
commit 62a5beb52f
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ const sendPostRequest = async (url, params) => {
.map((key) => `${key}=${params[key]}`)
.join("&")
const options = {
method: "post",
method: "POST",
headers: {
"Content-type": "application/x-www-form-urlencoded; charset=UTF-8",
},