geekdeepak / gdata-ruby-util

Automatically exported from code.google.com/p/gdata-ruby-util
Apache License 2.0
0 stars 0 forks source link

Request error 400 Invalid request URI when creating document in folder #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get list of folders =
@client.get('http://docs.google.com/feeds/documents/private/full/-/folder')
2. inside loop create folder uri = entry.elements['id'].text + '/contents'
3. @client.post(uri,newdoc)

What is the expected output? What do you see instead?
Expect document to be created in folder, instead, receive "Invalid request URI"

What version of the product are you using? On what operating system?
gdata-1.1.0, ruby 1.8, 

Please provide any additional information below.

I am able to create the document in the root:

uri = 'http://docs.google.com/feeds/documents/private/full'
@client.post(uri,newdoc)

Original issue reported on code.google.com by jaffe...@gmail.com on 27 Oct 2009 at 7:01