Skip to content
Copyright³ edited this page Jun 20, 2019 · 1 revision

api.phpPOST图片(value名为picture)(每次一张)

需提供以下参数:

1. user

在图床中的用户名

2. sin

'API KEY+Unix时间戳+图片文件字符串'的md5摘要的sha512摘要

PHP实例

<?php
$sin = hash("sha512", md5($APIKey . $timestamp . file_get_contents("picture.jpg")));

3. timestamp

POST时的时间戳

Clone this wiki locally