Methods
Objects
JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. It uses JSON (RFC 4627) as data format.
You can read the specifications here : www.jsonrpc.org/specification.
The API endpoint is https://api.callr.com/json-rpc/v1.1/
We only handle POST requests.
The charset is Unicode, encoding UTF-8.
The timezone is always UTC.
These features will be available in a future release.
POST /json-rpc/v1.1/ HTTP/1.1
Authorization: Basic ZG9ub3R0cnl0aGlzYXRob21lOml0c2Zha2U=
Host: api.callr.com
Accept: */*
Content-Type: application/json-rpc; charset=utf-8
Content-Length: 143
{
"jsonrpc":"2.0",
"id":42,
"method":"sms.send",
"params":[
"SMS",
"+447890123456",
"Hello, world",
null
]
}
HTTP/1.1 200 OK
Content-Type: application/json-rpc; charset=utf-8
Transfer-Encoding: chunked
Date: Sun, 28 Aug 2011 16:04:28 GMT
2d
{"jsonrpc":"2.0","id":42,"result":"8242D945"}
0