Download the PHP package fightbulc/jsonrpc_curl without Composer
On this page you can find all versions of the php package fightbulc/jsonrpc_curl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fightbulc/jsonrpc_curl
More information about fightbulc/jsonrpc_curl
Files in fightbulc/jsonrpc_curl
Package jsonrpc_curl
Short Description JSON-RPC CURL
License MIT
Homepage https://github.com/fightbulc/jsonrpc_curl
Informations about the package jsonrpc_curl
::::::'##::'######:::'#######::'##::: ##:'########::'########:::'######:: :::::: ##:'##... ##:'##.... ##: ###:: ##: ##.... ##: ##.... ##:'##... ##: :::::: ##: ##:::..:: ##:::: ##: ####: ##: ##:::: ##: ##:::: ##: ##:::..:: :::::: ##:. ######:: ##:::: ##: ## ## ##: ########:: ########:: ##::::::: '##::: ##::..... ##: ##:::: ##: ##. ####: ##.. ##::: ##.....::: ##::::::: ##::: ##:'##::: ##: ##:::: ##: ##:. ###: ##::. ##:: ##:::::::: ##::: ##: . ######::. ######::. #######:: ##::. ##: ##:::. ##: ##::::::::. ######:: :......::::......::::.......:::..::::..::..:::::..::..::::::::::......::: :'######::'##::::'##:'########::'##::::::: '##... ##: ##:::: ##: ##.... ##: ##::::::: ##:::..:: ##:::: ##: ##:::: ##: ##::::::: ##::::::: ##:::: ##: ########:: ##::::::: ##::::::: ##:::: ##: ##.. ##::: ##::::::: ##::: ##: ##:::: ##: ##::. ##:: ##::::::: . ######::. #######:: ##:::. ##: ########: :......::::.......:::..:::::..::........::
JSON-RPC CURL
A tiny JSON-RPC client which works perfectly with Simplon/Jr - a JSON-RPC server.
1. Installation
You can install JSONRPC CURL either via package download from github or via Composer install. I encourage you to do the latter:
2. How to use?
If you are new to the topic of JSON-RPC I would suggest you to jump over to Simplon/Jr's documentation which explains the whole topic. Go ahead I will wait here...
Got it? Cool!
The following code examples should help you understand how to use the client. First off, we need . Secondly, since we require a JSON-RPC server lets assume that our server resides under the following URL:
2.1. Request without data
Sending an request without data:
2.2. Request with data
Data are passed via an assoc. array:
2.3. Proxy a request
In development I am using Charles to see all communication between server and client. The following example shows how to enable a proxy:
3. Conclusion
That's pretty much all there is. Cheers!