Set Kink rate limits, added method parameter for arbitrary requests.
This commit is contained in:
@@ -152,7 +152,7 @@ async function init() {
|
||||
}
|
||||
|
||||
if (argv.request) {
|
||||
const res = await http.get(argv.request);
|
||||
const res = await http[argv.requestMethod](argv.request);
|
||||
|
||||
console.log(res.status, res.body);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user