Skip to content

Commit

Permalink
Update Api uri
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadv184 committed Aug 8, 2021
1 parent 0e02ed4 commit 8834ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ArCaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ArCaptcha
* Api Base Uri
* @var string
*/
protected $api_base_uri = 'https://api.arcaptcha.ir/';
protected $api_base_uri = 'https://api.arcaptcha.ir/arcaptcha/api/';

/**
* Script Url
Expand Down Expand Up @@ -77,7 +77,7 @@ public function getWidget(): string
public function verify(string $challenge_id):bool
{
try {
$response = $this->http->submit('challenges/verify', $challenge_id);
$response = $this->http->submit('verify', $challenge_id);
} catch (GuzzleException $e) {
return false;
}
Expand Down

0 comments on commit 8834ae9

Please sign in to comment.