Author: fmantek Date: Fri Aug 24 07:58:38 2007 New Revision: 222 Added: wiki/ExecRequest.wiki
Log: Created wiki page through web user interface. Added: wiki/ExecRequest.wiki ============================================================================== --- (empty file) +++ wiki/ExecRequest.wiki Fri Aug 24 07:58:38 2007 @@ -0,0 +1,39 @@ +#summary Documentation for the ExecRequest utility +#labels Featured + += Introduction = + +Part of the .NET release is a handy utility, called ExecRequest. It allows you to query, update, delete and insert items into a feed, using programmatic login or web application login. ExecRequest, including Web Application Login, is part of the .NET library with version 1.1.0.0. + += Details = + +ExecRequest.exe is located in the same directory where the other sample applications and libraries are, normally in the clients/cs/lib/release directory. + +If you start ExecRequest with no parameters it will give you a short help description on how it should get started. Let's look at this in more detail. + +Programmatic login + +usage: ExecRequest <service> <cmd> <uri> <username> <password>, where cmd is QUERY, UPDATE, INSERT, DELETE + +Example: + +ExecRequest cl QUERY http://www.google.com/calendar/feeds/private/default [EMAIL PROTECTED] mypassword + +This would query the default feed for user Joe, given his password and output the resulting XML to the console. + +ExecRequest cl INSERT http://www.google.com/calendar/feeds/private/default [EMAIL PROTECTED] mypassword < myentry.xml + +This would try to insert the XML in file myentry.xml into the default feed for user Joe. + +Web application login + +ExecRequest <service> <cmd> <uri> /a <sessiontoken> + +This form, similiar to programmatic login, would use an already existing session token for Web Application login instead of username and password. + + +ExecRequest <service> <cmd> <uri> /e <onetimetoken> + +This form, would use a one time token, exchange it for a session token (while echoing that back to the screen for savekeeping) and use that session token for Web Application login instead of username and password. + + --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google 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-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
