diff --git a/content/whoami/contact_me.md b/content/whoami/contact_me.md index d1284a4..d1f3d64 100644 --- a/content/whoami/contact_me.md +++ b/content/whoami/contact_me.md @@ -54,8 +54,8 @@ function sendPostRequest() { var textFieldData = document.getElementById("textField").value; var xhr = new XMLHttpRequest(); - var url = "https://blog.ca.sual.in/api/send_message"; - + var url = "https://blog.ca.sual.in/api/message"; + xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onreadystatechange = function () { diff --git a/content/whoami/contact_me1.html b/content/whoami/contact_me1.html deleted file mode 100644 index 1613da4..0000000 --- a/content/whoami/contact_me1.html +++ /dev/null @@ -1,48 +0,0 @@ - - - -
- -My first paragraph.
- - - -