An open API service indexing awesome lists of open source software.

https://github.com/rfyiamcool/uwsgi_cli

easy uwsgi cli tools !!!
https://github.com/rfyiamcool/uwsgi_cli

python uwsgi

Last synced: 7 months ago
JSON representation

easy uwsgi cli tools !!!

Awesome Lists containing this project

README

          

# uwsgi_cli

match uwsgi protocol, support http get、post requests uwsgi server.

`to do list:`

* add debug mode, print uwsgi body

## install
```
pip install uwsgi_cli
```

## help
```
uwsgi_cli -h
```

if not found uwsgi_cli bin, please set PATH . ( /usr/local/bin/ )

### http mode
```
uwsgi_cli http 127.0.0.1:5000 /blog
```

### unix socket mode
```
uwsgi_cli unix /tmp/xiaorui.sock /
```

### tcp socket mode
```
uwsgi_cli tcp 127.0.0.1:5000 /mp/article
```
### post
```
uwsgi_cli tcp 127.0.0.1:5000 /cool/fetch "url=xiaorui.cc&name=fengyun"
```