When I am making upload using the the given 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'
But its not Working..
Its giving me the error No file found in request.
Can anybody please help me regarding this ..
Thank you in Advance.
To Get the upload URL I solved By this way
Upload the photo bytes to the Upload URL
Then Uplaod the meta data of photo
From here you will get the photo ID.
After getting the Photo iD publish is successful.