Face Match
Public Redirect
Public redirect to Face Match
curl --request GET \
--url https://api.sandbox.verisoul.ai/public/liveness-redirectimport requests
url = "https://api.sandbox.verisoul.ai/public/liveness-redirect"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.verisoul.ai/public/liveness-redirect', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.verisoul.ai/public/liveness-redirect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.verisoul.ai/public/liveness-redirect"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.verisoul.ai/public/liveness-redirect")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.ai/public/liveness-redirect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyThis response has no body data.This endpoint is meant for easy testing without having to do a backend integration.
Note that this is not the recommended integration method and is intended only for temporary testing purposes.
Since the redirect link is completely public, users can share it with others, which may lead to increased cost.
The Public Redirect endpoint should be used with caution and only for temporary testing. It is not suitable for long term use.
⌘I
Public redirect to Face Match
curl --request GET \
--url https://api.sandbox.verisoul.ai/public/liveness-redirectimport requests
url = "https://api.sandbox.verisoul.ai/public/liveness-redirect"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.verisoul.ai/public/liveness-redirect', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.verisoul.ai/public/liveness-redirect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.verisoul.ai/public/liveness-redirect"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.verisoul.ai/public/liveness-redirect")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.ai/public/liveness-redirect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyThis response has no body data.