How to post item to googlebase.i am getting request failure error
service.setUserCredentials("naresh0407", "nvssuresh");
GBaseEntry entry = new GBaseEntry();
entry.Title.Text = "New";
entry.Content.Content = "GHouse";
entry.GBaseAttributes.ItemType = "test";
entry.GBaseAttributes.AddTextAttribute("my attribute",
"hello");
entry.GBaseAttributes.AddFloatAttribute("bathrooms", 2f);
entry.GBaseAttributes.AddFloatAttribute("rooms", 6.5f);
entry.GBaseAttributes.AddFloatAttribute("bedrooms", 2f);
//entry.GBaseAttributes.Location = "1900 Snow Cone Avenue,
North Pole";
try
{
GBaseEntry myEntry =
service.Insert(GBaseUriFactory.Default.ItemsFeedUri, entry);
}
--
You received this message because you are subscribed to the Google Groups
"Google Base Data API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-base-data-api?hl=en.