diff --git a/README.md b/README.md index 6043b65..19024bc 100644 --- a/README.md +++ b/README.md @@ -59,5 +59,5 @@ To make requests that require parameters (eg. an address label or address to wit **Note:** This library throws Exceptions when calls fail. Implement try/catch blocks, and retrieve the Exception message to see details. -Please see [Block.io PHP Docs](https://dev.block.io/api/simple/php) for details on available calls. +Please see [Block.io PHP Docs](https://block.io/api/simple/php) for details on available calls. diff --git a/lib/block_io.php b/lib/block_io.php index f49ab7b..4f441f1 100644 --- a/lib/block_io.php +++ b/lib/block_io.php @@ -66,7 +66,7 @@ public function __call($name, array $args) private function _request($path, $args = array(), $method = 'POST') { // Generate cURL URL - $url = str_replace("API_CALL",$path,"https://dev.block.io/api/v" . $this->version . "/API_CALL/?api_key=") . $this->api_key; + $url = str_replace("API_CALL",$path,"https://block.io/api/v" . $this->version . "/API_CALL/?api_key=") . $this->api_key; $addedData = ""; foreach ($args as $pkey => $pval)