Hi Vic,

Thanks for the fast reply. This is actually done in Matlab/Java.

+--------------------------------------------
getURLStringList=['https://spreadsheets.google.com/feeds/worksheets/' 
spreadsheetKey '/private/full/' worksheetKey '/' worksheetEditKey];
[con,errorid,errormsg] = urlreadwrite(mfilename,getURLStringList); % does 
java.net.URL.openConnection
con.setInstanceFollowRedirects(false);
con.setRequestMethod( 'DELETE' );
con.setDoInput( true );
con.setRequestProperty('Content-Type','application/atom+xml;charset=UTF-8');
con.setRequestProperty('Authorization',String('GoogleLogin 
').concat(aToken));
con.getResponseCode();
+--------------------------------------------

Obviously, the worksheet is not deleted. I've also tried using the Firefox 
addon "HTTP Resource Test" and gives me the same 400/Bad request. I could 
send you a sample getURLStringList/aToken.

Thanks,
Claudiu

Reply via email to