Glad it's working, good luck :D -Vic
On Tue, Mar 1, 2011 at 1:18 PM, Joe Mathia <[email protected]> wrote: > Hi Vic, > > I had tried that. But it turns out that I was forgetting to quote the > header string. D'oh. > > Your example showed me that, so large, large thanks! > > Joe > > > On Mar 1, 2011, at 12:04 PM, Vic Fryzel wrote: > > Add a separate -H for each header, e.g.: > > -H "If-Match: *" -H "Authorization: ..." > > -Vic > > > > On Tue, Mar 1, 2011 at 10:55 AM, Joe Mathia <[email protected]>wrote: > >> Do you mean like: >> >> curl -v -H If-Match: * 'Authorization: Google..... >> >> If not, what is the correct usage? >> >> Thanks, >> >> Joe >> >> On Feb 28, 2011, at 9:45 PM, Vic Fryzel wrote: >> >> Oh, send an If-Match: * header. >> >> -Vic >> >> >> >> On Mon, Feb 28, 2011 at 3:22 PM, Joe Mathia <[email protected]>wrote: >> >>> Hi Vic, >>> >>> Using your syntax below, I'm getting the error message: >>> >>> Missing resource version ID >>> >>> Where/how does this fit into the equation? >>> >>> Thanks, >>> >>> Joe >>> >>> >>> On Feb 28, 2011, at 12:10 PM, Vic Fryzel wrote: >>> >>> Minor mistake in my snippet above, it should read: >>> >>> TOKEN=DQAAA... >>> >>> curl -v -H "Authorization: GoogleLogin auth=${TOKEN}" \ >>> -X DELETE \ >>> "https://spreadsheets.google.com/feeds/list..." >>> >>> -Vic >>> >>> >>> >>> On Mon, Feb 28, 2011 at 1:09 PM, Vic Fryzel <[email protected]>wrote: >>> >>>> TOKEN=DQAAA... >>>> >>>> curl -v -H "Authorization: GoogleLogin auth=${WISE_TOKEN}" \ >>>> -X DELETE \ >>>> "https://spreadsheets.google.com/feeds/list..." >>>> >>>> -Vic >>>> >>>> >>>> >>>> On Mon, Feb 28, 2011 at 1:06 PM, Joe <[email protected]> wrote: >>>> >>>>> I'm trying to delete a spreadsheet row using curl within an ApleScript, >>>>> using: >>>>> >>>>> *do shell script* "curl -X DELETE ' >>>>> https://spreadsheets.google.com/feeds/list/0AtJ.....HBLNEE/od6/private/full/c0p7u >>>>> '" >>>>> >>>>> I'm not sure how to pass along authorization. >>>>> >>>>> I'm able to get my request and retrieve my authorization tokens, e.g., >>>>> >>>>> SID=DQAAAIsAAAA..... >>>>> LSID=DQAAAIwAAA.... >>>>> Auth=DQAAAI4AAA..... >>>>> >>>>> However, I'm not sure of the syntax I'd need to use to pass one or all >>>>> of these with my DELETE command. Any help would be greatly appreciated! >>>>> >>>>> Joe >>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >> >> > >
