Preflight
Executes api/v1/waha/passkey_flows#preflight.
OPTIONS
/
api
/
v1
/
waha
/
passkey_flows
/
{token}
/
assertion
Preflight
curl --request OPTIONS \
--url https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertionconst options = {method: 'OPTIONS'};
fetch('https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion"
response = requests.options(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "OPTIONS",
]);
$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://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion"
req, _ := http.NewRequest("OPTIONS", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.options("https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion")
.asString();⌘I
Preflight
curl --request OPTIONS \
--url https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertionconst options = {method: 'OPTIONS'};
fetch('https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion"
response = requests.options(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "OPTIONS",
]);
$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://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion"
req, _ := http.NewRequest("OPTIONS", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.options("https://chat.wiseapp360.com/api/v1/waha/passkey_flows/{token}/assertion")
.asString();