We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd1f94 commit e986d8aCopy full SHA for e986d8a
CWE-834/main.js
@@ -0,0 +1,11 @@
1
+const main = async () => {
2
+ const response = await fetch('/api', (req, res) => {
3
+ const result = req.body
4
+
5
+ for (let i = 0; i < result.length; i++) {
6
+ console.log('Potential Denial of Service attack.')
7
+ }
8
+ })
9
10
+ return response.json()
11
+}
0 commit comments