diff --git a/README.md b/README.md index fc15357..3480efe 100644 --- a/README.md +++ b/README.md @@ -59,13 +59,22 @@ You can find an example config structure in the [config.json](https://github.com "method": "GET", "url": "https://example.com", "no_proxy_check": false, - "timeout": 2000, - "dodos": 10, - "requests": 1000, - "params": {}, - "headers": {}, - "cookies": {}, - "body": [], + "timeout": 10000, + "dodos": 1, + "requests": 1, + "params": { + "param-key1": ["param-value1", "param-value2", "param-value3"], + "param-key2": ["param-value1", "param-value2", "param-value3"] + }, + "headers": { + "header-key1": ["header-value1", "header-value2", "header-value3"], + "header-key2": ["header-value2", "header-value2", "header-value3"] + }, + "cookies": { + "cookie-key1": ["cookie-value1", "cookie-value2", "cookie-value3"], + "cookie-key2": ["cookie-value2", "cookie-value2", "cookie-value3"] + }, + "body": ["body1", "body2", "body3"], "proxies": [ { "url": "http://example.com:8080", diff --git a/config.json b/config.json index 7e18d93..b94018a 100644 --- a/config.json +++ b/config.json @@ -5,10 +5,19 @@ "timeout": 10000, "dodos": 1, "requests": 1, - "params": {}, - "headers": {}, - "cookies": {}, - "body": [], + "params": { + "param-key1": ["param-value1", "param-value2", "param-value3"], + "param-key2": ["param-value1", "param-value2", "param-value3"] + }, + "headers": { + "header-key1": ["header-value1", "header-value2", "header-value3"], + "header-key2": ["header-value2", "header-value2", "header-value3"] + }, + "cookies": { + "cookie-key1": ["cookie-value1", "cookie-value2", "cookie-value3"], + "cookie-key2": ["cookie-value2", "cookie-value2", "cookie-value3"] + }, + "body": ["body1", "body2", "body3"], "proxies": [ { "url": "http://example.com:8080",