Hi, I'm trying to use the picasa web service for uploading photos to my 
account, building the HTTP Post with coldfusion:

https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol#PostPhotoWithoutMetadata

I don't know what I'm doing wrong, but the server is giving me a 404 Not 
Found response, and the string "Content has been removed for violation 
against our Terms of Service."

This is the code I'm using:


<cffile action="readbinary" file="#form.file_path#" variable="image" /> 

<cfhttp 
url="https://picasaweb.google.com/data/feed/api/user/userID/albumid/#albumId#"; 
method="POST">
 <cfhttpparam type="header" name="GData-Version" value="2">
 <cfhttpparam type="header" name="Authorization" value="Bearer 
#trim(accessToken)#">
 <cfhttpparam type="header" name="Content-type" value="image/jpeg">
 <cfhttpparam type="header" name="Slug" value="example.jpg">
 <cfhttpparam type="body" file="#image#">
</cfhttp>

Any help would be appreciated.
Regards!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to