将经过验证的用户获取到 mysql 数据库

get verified user to mysql database

我以前用过 a service, where I could receive user data from an xml file on the verification service server, if the user verified his phonenumber. as this service is not working that stable, i'm trying to get into sinch(因为我不是那么专业)。 所以一般来说:

sinch 上是否有 xml 文件,其中存储了我的已验证用户?

对于json 文件

$data = file_get_contents('filename');
$data = json_decode($data, true);

对于xml个文件

$data = simplexml_load_file('filename');

使用这个查看数据

print_r($data)

sinch中没有XML文件,每次校验都会回调。

https://www.sinch.com/docs/verification/rest/#verificationcallbackapi