POST http://img-1255033804.pic.ap-chengdu.myqcloud.com/auth-test.txt Authorization: q-sign-algorithm=sha1&q-ak=AKIDviMvO4SZMBtW2RQWvLvMetEZv7KijshS&q-sign-time=1557389209;1557392809&q-key-time=1557389209;1557392809&q-header-list=&q-url-param-list=&q-signature=85dfa83edeedf866770c33633f3d256969af0715
abc123
响应:
1 2 3 4 5 6 7 8
<?xml version='1.0' encoding='utf-8' ?> <Error> <Code>QcloudApiRoleNotExist</Code> <Message>Qcloud api role not exist, need create role</Message> <Resource>img-1255033804.pic.ap-chengdu.myqcloud.com/auth-test.txt</Resource> <RequestId>NWNkM2UzMmZfOTA0MDYzNjRfMjMyNl8zY2M=</RequestId> <TraceId/> </Error>
POST http://img-1255033804.pic.ap-chengdu.myqcloud.com/pic-op-test.jpg?image_process Authorization:q-sign-algorithm=sha1&q-ak=AKIDMauCpHF4Zr360jrbs5c2LYotiL065zbj&q-sign-time=1557394879;1557398479&q-key-time=1557394879;1557398479&q-header-list=&q-url-param-list=as&q-signature=3a4482c12cb6ef86c92e853f0ecbf9e4a60562b5 Pic-Operations:{"is_pic_info":1,"rules":[{"fileid":"mytest.png","rule":"imageView2/format/png"}]}