[Fixed]-Curl-like tool for wsgi over unix domain socket


I think you’re looking for uwsgi_curl as described in this answer.


The Django application listening on the unix socket uses a different protocol than HTTP, most probably FastCGI. So you cannot use an HTTP client to talk directly with it.

Here you can find an article showing how to use a command line program called cgi-fcgi to talk directly with your application. The article uses Php-fpm, but the concept is the same.



Django test module has a Client that can talk to a wsgi/asgi application.
You can probably use this in a REPL python session for instance.

Leave a comment