Almaatla commited on
Commit
0baa47d
·
verified ·
1 Parent(s): fa7b924

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -95,7 +95,7 @@
95
  event.preventDefault();
96
  const text = document.getElementById("embed-input").value;
97
  fetch("/embed", {
98
- method: "POST",
99
  headers: {
100
  "Content-Type": "application/json"
101
  },
@@ -112,7 +112,7 @@
112
  const text = document.getElementById("search-input").value;
113
  const n = document.getElementById("n-input").value;
114
  fetch("/search", {
115
- method: "POST",
116
  headers: {
117
  "Content-Type": "application/json"
118
  },
 
95
  event.preventDefault();
96
  const text = document.getElementById("embed-input").value;
97
  fetch("/embed", {
98
+ method: "GET",
99
  headers: {
100
  "Content-Type": "application/json"
101
  },
 
112
  const text = document.getElementById("search-input").value;
113
  const n = document.getElementById("n-input").value;
114
  fetch("/search", {
115
+ method: "GET",
116
  headers: {
117
  "Content-Type": "application/json"
118
  },