.net将图片上传到Google存储空间

时间:2020-05-12 05:20:30

标签: .net google-cloud-storage

问候,我试图将图片上传到.net中的Google Cloud存储 它可以上传,但是问题是当我上传时,它看起来像下面的图片

enter image description here 另一方面,如果我从角度上传,它可以上传,但是我可以访问图像,它看起来像这样

enter image description here 谁能帮我

我使用此代码

  <location path="index.html">
    <system.webServer>
      <httpProtocol>
        <customHeaders>
          <add name="Cache-Control" value="no-cache" />
        </customHeaders>
      </httpProtocol>
    </system.webServer>
  </location>

</configuration>

我注意到,Angular中的一个自动获得了访问令牌,但.net中的一个没有访问令牌

0 个答案:

没有答案