This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -G https://api.verifiedbycam.com/v2/requests \ | |
-H "X-App-Key: c9cf97d8c394a861" \ | |
-H "X-Secret-Key: e816c164d7750779de17ac1967dc63efe004dd77d6d0ca128cd5cd7afe7e3b23" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"total": 2, | |
"size": 20, | |
"requests": [ | |
{ | |
"id": "b543c4e5df3c7c209", | |
"uid": "34212", | |
"status": "WAITING", | |
"site": { | |
"name": "yourdomain.com", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -G https://api.verifiedbycam.com/v2/request \ | |
-H "X-App-Key: c9cf97d8c394a861" \ | |
-H "X-Secret-Key: 779de173efee7e3b2e816c164004dd77d6ac1967dc6d0ca128cd5cd7afd77503" \ | |
-d "full=true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"total": 1, | |
"size": 20, | |
"requests": [ | |
{ | |
"id": "b543c4e5df3c7c209", | |
"uid": "34212", | |
"status": "WAITING", | |
"site": { | |
"name": "yourdomain.com", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X PUT https://api.verifiedbycam.com/v2/request/b543c4e5df3c7c209 \ | |
-H "X-App-Key: c9cf97d8c394a861" \ | |
-H "X-Secret-Key: 779de173efee7e3b2e816c164004dd77d6ac1967dc6d0ca128cd5cd7afd77503" \ | |
-d '{ | |
"status": "VERIFIED" | |
}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X PUT https://api.verifiedbycam.com/v2/request/b543c4e5df3c7c209 \ | |
-H "X-App-Key: c9cf97d8c394a861" \ | |
-H "X-Secret-Key: 779de173efee7e3b2e816c164004dd77d6ac1967dc6d0ca128cd5cd7afd77503" \ | |
-d '{ | |
"status": "REJECTED" | |
}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'vendor/autoload.php'; | |
$config = [ | |
'AppKey' => '', // Get from VBC | |
'SecretKey' => '', // Get from VBC | |
'Version' => 'V2' | |
]; | |
// instantiate the required objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'vendor/autoload.php'; | |
$config = [ | |
'AppKey' => '', // Get from VBC | |
'SecretKey' => '', // Get from VBC | |
'Version' => 'V2' | |
]; | |
// instantiate the required objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'vendor/autoload.php'; | |
$config = [ | |
'AppKey' => '', // Get from VBC | |
'SecretKey' => '', // Get from VBC | |
'Version' => 'V2' | |
]; | |
// instantiate the required objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getUserById } from 'Models/User'; | |
const user = getUserById(123); |