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
>>
>>
>>
>>
>