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.
2 parents 385dd3b + 8cc6f0f commit 61f919dCopy full SHA for 61f919d
bench/index.md
@@ -17,7 +17,7 @@ conditions.
17
### Benchmark command:
18
19
```sh
20
-autocannon -b '{"a":1}' -H "Content-Type=application/json" localhost:3002 # or 3003
+autocannon -m POST -b '{"a":1}' -H "Content-Type=application/json" localhost:3002 # or 3003
21
```
22
23
### Results
bench/package.json
@@ -5,7 +5,7 @@
5
"description": "",
6
"main": "index.js",
7
"scripts": {
8
- "bench": "autocannon -b '{\"a\":1}' -H \"Content-Type=application/json\"",
+ "bench": "autocannon -m POST -b '{\"a\":1}' -H \"Content-Type=application/json\"",
9
"bench:multipart": "autocannon -m POST --form '{ \"file\": { \"type\": \"file\", \"path\": \"./file.txt\" } }'"
10
},
11
"keywords": [],
0 commit comments