Skip to content

Commit

Permalink
update servers
Browse files Browse the repository at this point in the history
  • Loading branch information
doersf committed Oct 5, 2014
1 parent c5796e7 commit 936cbc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

2 changes: 1 addition & 1 deletion lib/block_io.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 936cbc6

Please sign in to comment.