小编upe*_*dtu的帖子

使用Street View Publish API上传全景图像

当我使用给定的Street View API进行上传时

Request an Upload URL
        $ curl --request POST \
        --url 'https://streetviewpublish.googleapis.com/v1/photo:startUpload?key=YOUR_API_KEY' \
        --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
        --header 'Content-Length: 0'

Upload the photo bytes to the Upload URL
        $ curl --request POST \
        --url 'UPLOAD_URL' \
        --upload-file 'PATH_TO_FILE' \
        --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Run Code Online (Sandbox Code Playgroud)

但它不工作..

它给我的错误是在请求中找不到文件。

有人可以帮我这个忙吗..

先感谢您。

google-maps-api-3 google-street-view google-streetview-publish

0
推荐指数
1
解决办法
513
查看次数