post https://api.zan.top/scr/v1/file/get-upload-link
This API is used to upload smart contract source code. It returns the upload link and access id. You can use the returned parameters to construct an upload request .
How to use the returned parameters to construct a upload request? Here is an example:
curl -X POST \
-F "key=<returned_dir+/current_timestamp+/your_file_name>" \
-F "policy=<returned_policy>" \
-F "OSSAccessKeyId=<returned_accessId>" \
-F "Signature=<returned_signature>" \
-F "Expires=<returned_expires>" \
-F "file=@your_file_path" \
returned_host_url