post()
post(string $uri, mixed $body) : string
Perform a HTTP GET request.
Parameters
string |
$uri |
Request URI. |
mixed |
$body |
Request body (JSON string / PHP array). |
Throws
- \RippleRestProtocolError
if client returns non-200 responses or network problems.
Returns
string
— Response body as JSON string.