OSS 上传报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

OSS 上传报错

<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>MethodNotAllowed</Code>
  <Message>The specified method is not allowed against this resource.</Message>
  <RequestId>59EEAD35AC94657E9ADD0C7F</RequestId>
  <HostId>itclj2.oss-cn-beijing.aliyuncs.com</HostId>
  <Method>POST</Method>
  <ResourceType>Bucket</ResourceType>
</Error>


展开
收起
冰上浮云 2017-10-24 11:39:26 8565 0
2 条回答
写回答
取消 提交回答
  • dongshan8
    旺旺:nectar2。
    回 3楼(冰上浮云) 的帖子
    版主回复:

    论坛图片请以“附件”的形式添加和插入到文章内容中。

    为您将帖子移到OSS版块,希望能获得更快的回复。
    2017-10-24 15:33:29
    赞同 展开评论 打赏
  • 冰上浮云
    ReOSS 上传报错
    t添加请求截图

    -------------------------

    ReOSS 上传报错
    Request URL:http://itclj2.oss-cn-beijing.aliyuncs.com/
    Request Method:POST
    Status Code:405 Method Not Allowed
    Remote Address:59.110.190.53:80
    Referrer Policy:no-referrer-when-downgrade
    Response Headers
    view source
    Allow:GET DELETE HEAD PUT POST OPTIONS
    Connection:keep-alive
    Content-Length:334
    Content-Type:application/xml
    Date:Tue, 24 Oct 2017 03:02:13 GMT
    Server:AliyunOSS
    x-oss-request-id:59EEAD35AC94657E9ADD0C7F
    Request Headers
    view source
    Accept:application/xml, text/xml, */*; q=0.01
    Accept-Encoding:gzip, deflate
    Accept-Language:zh-CN,zh;q=0.8
    Connection:keep-alive
    Content-Length:15
    Content-Type:text/plain;charset=UTF-8
    Host:itclj2.oss-cn-beijing.aliyuncs.com
    Origin:http://127.0.0.1:8180
    Referer:http://127.0.0.1:8180/
    User-Agent:Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36


    -------------------------

    ReOSS 上传报错
    另外提个问题,本论坛上传不了图片

    -------------------------

    ReOSS 上传报错

    -------------------------

    ReOSS 上传报错
    $('#frmOssfile').fileupload({
            dataType: 'xml',
            type: "post",
            data:{
              OSSAccessKeyId:$("#txtOSSAccessKeyId").val(),
              policy:$("#txtPolicy").val(),
              Signature:$("#txtSignature").val(),
              key:$("#ossFileName").val(),
              success_action_status:$("#txtSuccessActionStatus").val()
            },
            url: $("#frmOssFileUpload").attr("action"),
            done: function (e, r) {
              console.log(r.result);
            }
          });


    2017-10-24 11:41:36
    赞同 展开评论 打赏
问答排行榜
最热
最新
相关电子书
更多
百问百答-OSS (上)
立即下载
百问百答-OSS (下)
立即下载
阿里云 JindoFS+OSS 数据上云实战
立即下载