SPDK provides a sample python script `rpc_http_proxy.py`, that provides http server which listens for JSON objects from users. It uses HTTP POST method to receive JSON objects including methods and parameters described in this chapter.
`spdk/scripts/rpc_http_proxy.py 192.168.0.2 8000 user password`
## Returns
Error 401 - missing or incorrect user and/or password.
Error 400 - wrong JSON syntax or incorrect JSON method
Status 200 with resultant JSON object included on success.
## Client side
Below is a sample python script acting as a client side. It sends `get_bdevs` method with optional `name` parameter and prints JSON object returned from remote_rpc script.