File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,19 +59,19 @@ Make POST calls to http://mockbin.org from a local csv file.
5959
6060---
6161
62- First setup a new ` bin ` , using [ httpie] ( https://httpie.io/cli ) , curl or the [ web ui] ( http://mockbin.com/bin/create ) and get a bin id.
62+ First setup a new ` bin ` , using [ httpie] ( https://httpie.io/cli ) , curl or the [ web ui] ( http://mockbin.io ) and get a bin id.
6363
6464```
65- ❯ http POST mockbin.com /bin/create status:=201 statusText=Created httpVersion=HTTP/1.1 headers:='[]' cookies:='[]' 'content[mimeType]'=application/json --body
65+ ❯ http POST mockbin.io /bin/create status:=201 statusText=Created httpVersion=HTTP/1.1 headers:='[]' cookies:='[]' 'content[mimeType]'=application/json --body
6666"9e95289e-d048-4515-9a61-07f2c74810f5"
6767```
6868
6969Create your ` my_file.csv ` and pass it to ` csv2http ` .
7070Use the returned bin id from before.
7171
7272```
73- ❯ csv2http my_file.csv mockbin.org /bin/9e95289e-d048-4515-9a61-07f2c74810f5 --concurrency 3
74- POST http://mockbin.org/bin/mockbin.org /bin/9e95289e-d048-4515-9a61-07f2c74810f5
73+ ❯ csv2http my_file.csv mockbin.io /bin/9e95289e-d048-4515-9a61-07f2c74810f5 --concurrency 3
74+ POST http://mockbin.io /bin/9e95289e-d048-4515-9a61-07f2c74810f5
7575 status codes - {200: 3}
7676 status codes - {200: 3}
7777 status codes - {200: 3}
You can’t perform that action at this time.
0 commit comments