Monday, March 19, 2012

[YouTube-API] Re: Resumable PUT request gets redirect.

Hi Jeff, Actually, I'm using the java gdata api (ResumableGDataFileUploader) so I'm assuming its doing the right thing regarding POST/PUT. 
Is that a bad assumption?

-Aj

On Monday, March 19, 2012 12:28:28 PM UTC-7, Jeffrey Posnick wrote:
Hello AJ,

 To begin the resumable uploads flow, you're supposed to send a POST
to http://uploads.gdata.youtube.com/resumable/feeds/api/users/default/uploads,
not a PUT. Can you try it with a POST?

  https://developers.google.com/youtube/2.0/developers_guide_protocol_resumable_uploads

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Mar 14, 7:03 pm, AJG <ajgreg...@gmail.com> wrote:
> Is there any reason that the API would return a redirect when a PUT is done
> to the resumable
> "http://uploads.gdata.youtube.com/resumable/feeds/api/users/default/up..."
> URL?
>
> It looks like it only happens with larger uploads.
>
> A POST upload of the same file to the
> "http://uploads.gdata.youtube.com/feeds/api/users/default/uploads" URL
> works ok.
>
> Any ideas?
>
> Thanks,
> -Aj

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/dMUGe-GQl-0J.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment