// Generated by ApiPost: https://www.apipost.cn/
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, '{{website}}/api/user/login');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
$post = array(
'phone' => '18825132454',
'code' => '456789',
'type' => 'code'
);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$headers = array();
$headers[] = 'User-Agent: Apipost client Runtime/+https://www.apipost.cn/';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。